Update #19 - Removed fast math, fixed water shader

This commit is contained in:
LAX1DUDE
2023-06-14 19:59:38 -07:00
parent b2274a25b0
commit ed95ff8bf7
7 changed files with 17 additions and 75 deletions

View File

@ -8,7 +8,7 @@ public class EaglercraftVersion {
/// Customize these to fit your fork:
public static final String projectForkName = "EaglercraftX";
public static final String projectForkVersion = "u18";
public static final String projectForkVersion = "u19";
public static final String projectForkVendor = "lax1dude";
public static final String projectForkURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8";
@ -23,7 +23,7 @@ public class EaglercraftVersion {
public static final String projectOriginName = "EaglercraftX";
public static final String projectOriginAuthor = "lax1dude";
public static final String projectOriginRevision = "1.8";
public static final String projectOriginVersion = "u18";
public static final String projectOriginVersion = "u19";
public static final String projectOriginURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8";

View File

@ -69,6 +69,11 @@ void main() {
}
float gbufferDepth = textureLod(u_gbufferDepthTexture, v_position2f2, 0.0).r;
if(gbufferDepth < 0.000001) {
return;
}
vec4 gbufferDepthClipSpace4f = vec4(v_position2f2, gbufferDepth, 1.0);
gbufferDepthClipSpace4f.xyz *= 2.0;
gbufferDepthClipSpace4f.xyz -= 1.0;