Closed kamicane closed 3 years ago
Is there any way to recognize a directx normal when you see it? Is there a particular nif version or game?
Every fallout 4 normal map is in directx format. Never really did any Skyrim modding so not sure what format it uses, or if it even uses tangent space normals?
Is there any way to recognize a directx normal when you see it?
No way, they are technically valid but bumps magically become holes.
Fun fact: there are a megaton of mods on the nexus that have the wrong normals.
F*ck, srsly? Like probably all of mine. Likely that explains some of the weird behavior I've seen. Plus calls into question every tool I use to handle normals. My whole life is a lie.
Fixed in latest rev.
Directx tangent space normal maps have an inverted green channel compared to opengl normal maps (the format blender uses).
I have been fixing it by inverting the green channel in the shader like so:
Would be cool if pynifly could do this automatically on import, like it separates red and on the specular maps.
Results:
Directx (inverted green)
OpenGL (non-inverted green)