fix quality profile water/shadows
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / scene_water_fast.fs
index 77aa569dd3dd7121345bfa1fb6c5ac78eee58720..f89cee55ead0ab3e9da1b8305b43605261f6b854 100644 (file)
@@ -55,4 +55,5 @@ void main()
    vec4 vsurface = water_surf( halfview, surfnorm, depthvalue );
    vsurface.a -= fdist;
    oColour = mix( vsurface, vec4(1.0,1.0,1.0,0.5), fband );
+   oColour.rgb = scene_compute_lighting( oColour.rgb, aNorm.xyz, aWorldCo );
 }