Jump to content
  • Advertisement

Archived

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

gerbrost

Light again

This topic is 6096 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!