Archived

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

Light again

This topic is 5914 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! Unfortunately i was not able to fix me lighting problem. I draw a floor and 4 walls. If i set the emissive-values of the material to 1, i can see them lit. if i only activate diffuse lighting, the are pitch black I put my project online, since the cut out source seemed to be correct and it must be somewhere else. Here is the link: http://www.nwmedia.de/nwmedia/download.html The file is 107k,zipped. I hope someone will be so kind to crawl through the code. Thank you!!!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
If you set your ambient and diffuse to the same value above 0.0f for all ARGB, what do you see?

/jk

Share this post


Link to post
Share on other sites
With the help of very kind person i was able to fix _this_ problem.
The program still seems to be messed up since the light cant be positioned correctly

Share this post


Link to post
Share on other sites