Saturday, February 17, 2024

Normal OpenGL vs DirectX

 This is how normal map is map to Mesh normal (OpenGL)

This is how OpenGL green channel looks like.  Y is up.


And, this is how DirectX green channel looks like.  Y is down

Unreal Engine uses DirectX format.  When textures are imported to Unreal and the normal map looks like OpenGL format, Simply change it in Unreal like below:




No comments:

Post a Comment