Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shaders/program/dh_water.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void main() {
vec4 color = glColor;

vec3 screenPos = vec3(gl_FragCoord.xy / vec2(viewWidth, viewHeight), gl_FragCoord.z);
if (texture2D(depthtex1, screenPos.xy).r < 1.0) discard;
if (texture2D(depthtex0, screenPos.xy).r < 1.0) discard;
float lViewPos = length(playerPos);

float dither = Bayer64(gl_FragCoord.xy);
Expand Down