tutorial deferred shading? [Implemented it, not working properly]

Started by
9 comments, last by BlueSpud 10 years, 6 months ago

It sounds like your light position might be camera-relative, or vice-versa. smile.png

I feel like a moron XD

I was making the OpenGL light a directional light opposed to a point light, therefore messing with it. For future reference, how would I go about making my own light positions? Would I just multiply the position by the modelview matrix?

This topic is closed to new replies.

Advertisement