Archived

This topic is now archived and is closed to further replies.

shakazed

Point lights

Recommended Posts

shakazed    138
Hiya! Trying to set up a point light but it won´t show. I´ve assigned values to attenuation, position and diffuse color, is there something more I need? Light is enabled and set, got it working with directional light but not point and spot.

Share this post


Link to post
Share on other sites
shakazed    138
Normals and all the other properties are set, though I´m not sure about attenuation. The docs said typically you set it to attenuation0 = 0, attenuation1 = constant value(in my case 1) and attenuation2 = 0. Something wrong with this maybe? The light pos. is set to ten units infront of the plane I´m trying to light up and range is 100.

Share this post


Link to post
Share on other sites