Which vector space to store deferred prepass in?
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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement