mirror of https://github.com/AxioDL/metaforce.git
Update fixNES
This commit is contained in:
parent
58c00b6c9c
commit
64dd7b1643
|
@ -1 +1 @@
|
||||||
Subproject commit 03b5b7fdf32708dd83e13224747fe3a387dafa69
|
Subproject commit cc08b110f945cdfb3f78d1bb35908f1c23faf5ce
|
|
@ -138,7 +138,7 @@ BOO_GLSL_BINDING_HEAD
|
||||||
"void ApplyRipple(in Ripple ripple, in vec2 pos, inout float height)\n"
|
"void ApplyRipple(in Ripple ripple, in vec2 pos, inout float height)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" float dist = length(ripple.center.xy - pos);\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"
|
" height += rippleV * ripple.params.x * sin((dist * ripple.params.y + ripple.params.z) * PI_X2);\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
Loading…
Reference in New Issue