diff --git a/NESEmulator/fixNES b/NESEmulator/fixNES index 03b5b7fdf..cc08b110f 160000 --- a/NESEmulator/fixNES +++ b/NESEmulator/fixNES @@ -1 +1 @@ -Subproject commit 03b5b7fdf32708dd83e13224747fe3a387dafa69 +Subproject commit cc08b110f945cdfb3f78d1bb35908f1c23faf5ce diff --git a/Runtime/Graphics/Shaders/CFluidPlaneShaderGLSL.cpp b/Runtime/Graphics/Shaders/CFluidPlaneShaderGLSL.cpp index ed97cc5b3..45569d1bf 100644 --- a/Runtime/Graphics/Shaders/CFluidPlaneShaderGLSL.cpp +++ b/Runtime/Graphics/Shaders/CFluidPlaneShaderGLSL.cpp @@ -138,7 +138,7 @@ BOO_GLSL_BINDING_HEAD "void ApplyRipple(in Ripple ripple, in vec2 pos, inout float height)\n" "{\n" " float dist = length(ripple.center.xy - pos);\n" -" float rippleV = texture(RippleMap, vec2(dist * ripple.center.w, ripple.center.z)).r;\n" +" float rippleV = textureLod(RippleMap, vec2(dist * ripple.center.w, ripple.center.z), 0.0).r;\n" " height += rippleV * ripple.params.x * sin((dist * ripple.params.y + ripple.params.z) * PI_X2);\n" "}\n" "\n"