The normals are exported from maya.
Deferred rendering issue
Strange you said that the gbuffer was ok and now the normal is wrong :)
The normal is world space as i can see in the point light shader (you should switch to view space but that's an other topic).
Do you just dump the mesh normal, or do you use some kind of tangent frame to use tangent space normal map ? If you use a tangent frame, do you have mirror in uv and you forget to split the vertex where the uv direction change ?
If you have pix, then you can output your corrupted g-buffer to the back buffer and run a single frame capture on it. Then run the "debug this pixel" feature on the black pixels by right clicking on them. That will let you step through the shader to see what is wrong.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement