Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Just a quick questions about something that's occurring in my world. Every time I pitch my camera downward, everything starts turning black, and if I pitch upward, everything sort of intensifies.

I'm multiplying my normals by the normal matrix in the shader, and I'm multiplying my lights direction by the model view matrix.

If I leave the normal and light dir in world space everything ends up fine.

I thought putting them both in view space would not cause those weird things to happen?

share|improve this question
Please post the code. – Seth Battin May 24 at 5:08

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.