Skip to content

Commit

Permalink
Don't flip the 4band area :P
Browse files Browse the repository at this point in the history
  • Loading branch information
pema99 committed Sep 25, 2023
1 parent c5a627c commit 4f2f67b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@
float3 color = FOREGROUND_COLOR;

float2 sliceSize = float2(size.x, size.y / 4.0);
float strength = getBandAmplitudeLerp((1.0 - uv.y / size.y) * 4.0, uv.x / size.x * 32.0);
float strength = getBandAmplitudeLerp((uv.y / size.y) * 4.0, uv.x / size.x * 32.0);
float3 sliceColor = getBandColorLerp(uv.y / sliceSize.y);
sliceColor = lerp(sliceColor, sliceColor * 10, pow(strength, 2.0));

Expand Down

0 comments on commit 4f2f67b

Please sign in to comment.