Geometry pass shader for standard meshes
Saves diffuse, specular, mappedNormals (encoded to spheremapped XY), and object ID to appropriate FBO textures
Standard mesh vertex shader, transforms position to screen space and normals/tangents to view space
See Source File
Geometry pass shader for standard meshes