diff --git a/Assets/VRM/UniGLTF/Resources/Shaders/NormalMapEncoder.shader b/Assets/VRM/UniGLTF/Resources/Shaders/NormalMapEncoder.shader index ca61ed3aa..c4d5fc6a5 100644 --- a/Assets/VRM/UniGLTF/Resources/Shaders/NormalMapEncoder.shader +++ b/Assets/VRM/UniGLTF/Resources/Shaders/NormalMapEncoder.shader @@ -41,12 +41,11 @@ fixed4 frag(v2f i) : SV_Target { - half4 col = tex2D(_MainTex, i.uv); #if defined(UNITY_NO_DXT5nm) - // This is a trick from UnpackNormal in UnityCG.cginc !!!! - return col; + // This is a trick from UnpackNormal in UnityCG.cginc !!!! + return col; #endif half4 normal;