add glider&orphan data to replay
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / scene_water_fast.h
index 7c5a079106558d9cf0849b517a08098bb36d0582..ac987dd5204c6f15feb79c77bc4d6fff46469757 100644 (file)
@@ -510,6 +510,7 @@ static struct vg_shader _shader_scene_water_fast = {
 "   vec4 vsurface = water_surf( halfview, surfnorm, depthvalue );\n"
 "   vsurface.a -= fdist;\n"
 "   oColour = mix( vsurface, vec4(1.0,1.0,1.0,0.5), fband );\n"
+"   oColour.rgb = scene_compute_lighting( oColour.rgb, aNorm.xyz, aWorldCo );\n"
 "}\n"
 ""},
 };