fixe
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / scene_water_fast.h
index b02f8ca5b33cbd6551a05148c20ac4bc5a004bfc..5d3b534a25ddeb1c79cf313826e5cd34cf96d100 100644 (file)
@@ -212,7 +212,7 @@ static struct vg_shader _shader_scene_water_fast = {
 "{\n"
 "   vec2 depth_coord = (pos.xz - g_depth_bounds.xy) * g_depth_bounds.zw; \n"
 "   float ref_depth = g_water_plane.y*g_water_plane.w;\n"
-"   return texture( g_world_depth, depth_coord ).g - ref_depth;\n"
+"   return texture( g_world_depth, depth_coord ).g-ref_depth;\n"
 "}\n"
 "\n"
 "float shadow_sample( vec3 vdir )\n"