7 #include "common_scene.glsl"
11 float height_full = aWorldCo.y;
12 float height_water = height_full;
14 if( height_water > (g_water_plane.y * g_water_plane.w) + 2.0 )
15 height_water = -99999.9;
17 FragColor = vec4( height_full, height_water, 0.0, 0.0 );