Archived

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

Orthographic Lighting?

This topic is 5244 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

I just recently started OpenGL and I was trying to do a basic tile game in ortho projection with a spotlight on the ceter of the screen but the lighting doesn''t seem to be working I can''t figure out what is wrong and started wondering... Does lighting work in Ortho or should I switch to perspective?

Share this post


Link to post
Share on other sites
Is lighting enabled?

Is your geometry tessalated enough to notice the lighting if its there? (my guess is no, because you tend to use big rects in ortho). Remember lighting is per vertex, not per pixel.

Share this post


Link to post
Share on other sites