Explorar o código

Fix waterBasicP.glsl for HDR.

LuisAntonRebollo %!s(int64=10) %!d(string=hai) anos
pai
achega
049de72cc5

+ 1 - 1
Templates/Empty/game/shaders/common/water/gl/waterBasicP.glsl

@@ -210,7 +210,7 @@ void main()
 
    #endif
    
-   OUT_col = OUT;
+   OUT_col = hdrEncode( OUT );
    
 #endif   
 }

+ 1 - 1
Templates/Full/game/shaders/common/water/gl/waterBasicP.glsl

@@ -210,7 +210,7 @@ void main()
 
    #endif
    
-   OUT_col = OUT;
+   OUT_col = hdrEncode( OUT );
    
 #endif   
 }