X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fscene_water_fast.h;fp=shaders%2Fscene_water_fast.h;h=5d3b534a25ddeb1c79cf313826e5cd34cf96d100;hb=2673c575386c604fc2c0603dba2480eda05cf97a;hp=b02f8ca5b33cbd6551a05148c20ac4bc5a004bfc;hpb=66b3ec9c538fefd79c2de08e0dcdf070b4331885;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/scene_water_fast.h b/shaders/scene_water_fast.h index b02f8ca..5d3b534 100644 --- a/shaders/scene_water_fast.h +++ b/shaders/scene_water_fast.h @@ -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"