Archived

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

gerbrost

Light again

Recommended Posts

gerbrost    122
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   
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
gerbrost    122
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