Browse Source

Merge pull request #1244 from BeamNG/fix_water_hdr

Fix waterBasicP.glsl for HDR.
Luis Anton Rebollo 10 năm trước cách đây
mục cha
commit
d9ebe10c90

+ 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   
 }