Skip to content

Commit

Permalink
add edits to compatibility version
Browse files Browse the repository at this point in the history
  • Loading branch information
EpochWon committed Sep 2, 2024
1 parent c1a9294 commit 82fe345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/shaders/compatibility/ripples_blobber.frag
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void main()
for (int i = 0; i < positionCount; ++i)
{
float wavesize = wavesizeMultiplier * positions[i].z;
float displace = clamp(2.0 * abs(length((positions[i].xy + offset) - gl_FragCoord.xy) / wavesize - 1.0), 0.0, 1.0);
float displace = clamp(0.2 * abs(length((positions[i].xy + offset) - gl_FragCoord.xy) / wavesize - 1.0) + 0.8, 0.0, 1.0);
color.rg = mix(vec2(-1.0), color.rg, displace);
}

Expand Down

0 comments on commit 82fe345

Please sign in to comment.