add strength slider for on-fire distortion effect. revisit large wave displacement and improve it a little

This commit is contained in:
Xonk
2025-04-06 19:29:05 -04:00
parent 77c2559751
commit f0ad8e93f6
5 changed files with 50 additions and 42 deletions

View File

@ -89,7 +89,7 @@ void applyGameplayEffects(inout vec3 color, in vec2 texcoord, float noise){
vec2 UV = zoomin;
float flameDistort = texture2D(noisetex, UV * vec2(aspectRatio,1.0) - vec2(0.0,frameTimeCounter*0.3)).b * clamp(-texcoord.y*0.3+0.3,0.0,1.0) * 0.75 * exitLava;
float flameDistort = texture2D(noisetex, UV * vec2(aspectRatio,1.0) - vec2(0.0,frameTimeCounter*0.3)).b * clamp(-texcoord.y*0.3+0.3,0.0,1.0) * ON_FIRE_DISTORT_EFFECT_STRENGTH * exitLava;
distortmask = max(distortmask, flameDistort);
}