Normal maps: Do you know the difference between DirectX and OpenGL?
Normal maps simulate small surface details without adding geometry. But DirectX and OpenGL handle the Y-axis differently:
DirectX Normal Maps:
Y-axispoints down
Typically use left-handed coordinate system
Green areas on the normal map might look darker.
OpenGL Normal Maps:
Y-axispoints up
Uses a right-handed coordinate system
Green areas usually appear lighter.
Why it matters:
If you use the wrong format in your engine or shader, lighting will look off—like bumps are inverted. You can fix this by inverting the green channel if needed.
#normal #maps #you #know #difference
Normal maps: Do you know the difference between DirectX and OpenGL?
💡 Normal maps simulate small surface details without adding geometry. But DirectX and OpenGL handle the Y-axis differently:
👉 DirectX Normal Maps:
Y-axispoints down
Typically use left-handed coordinate system
Green areas on the normal map might look darker.
👉 OpenGL Normal Maps:
Y-axispoints up
Uses a right-handed coordinate system
Green areas usually appear lighter.
🎯 Why it matters:
If you use the wrong format in your engine or shader, lighting will look off—like bumps are inverted. You can fix this by inverting the green channel if needed.
#normal #maps #you #know #difference