I'm trying to condense my Deferred Rendering G-Buffer. So I have some questions about getting 2-component Screenspace Normals. I know Frostbite and Killzone (the only two AAA company's G-Buffers I could find) use them.How are screenspace normals created, and is this step before or after using normal maps or bump maps? If it's done before using normal maps, how are normal maps going to be affected by the screenspace-ness of the normals, and if after, how can you justify using a Model-View matrix on all fragments rather on vertices? Isn't that a lot more calculations?Finally, how are they unpacked? I realize you can get the blue component using pythagoras, but how are they returned to world space?
Screenspace Normals - Creation, Normal Maps, and Unpacking
shader;transformations;deferred rendering;normal mapping