Sign in to follow this  
Enalis

OpenGL Which vector space to store deferred prepass in?

Recommended Posts

I almost have my deferred pipeline completely setup, however, I'm having a hard time choosing a vector space to store the position and normal values in. I'm planning on implementing shadow maps and volumes with it. And I would like to account for normal mapping (and all the other goodies that come with a TBN matrix.) Right now I'm storing everything in view space, but I then realized that the lights being passed in from opengl are not necessarily in the same space. Suggestions?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this