From ad5ee1aa1c18b3a9ebaebcb4894c92a9a467026e Mon Sep 17 00:00:00 2001 From: Dobrohotov Alexei Date: Mon, 3 May 2021 01:34:54 +0300 Subject: [PATCH] Don't flip NV PPL shader Y axis erroneously --- files/shaders/nv_default_fragment.glsl | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/shaders/nv_default_fragment.glsl b/files/shaders/nv_default_fragment.glsl index eadadba39..1bd0f4e31 100644 --- a/files/shaders/nv_default_fragment.glsl +++ b/files/shaders/nv_default_fragment.glsl @@ -56,8 +56,6 @@ void main() #if @normalMap vec4 normalTex = texture2D(normalMap, normalMapUV); - // Must flip Y for DirectX format normal maps - normalTex.y = 1.0 - normalTex.y; vec3 normalizedNormal = normalize(passNormal); vec3 normalizedTangent = normalize(passTangent.xyz);