Skip to content

Commit

Permalink
Update AntiGravityPool_Fragment.glsl
Browse files Browse the repository at this point in the history
  • Loading branch information
erichlof authored Nov 26, 2024
1 parent c5dcf71 commit b87e801
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions shaders/AntiGravityPool_Fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -732,11 +732,7 @@ void main( void )

// makes light source edges (shape boundaries) more stable
if (previousPixel.a == 1.01)
{
if (pixelSharpness > 0.0)
currentPixel.a = 1.01;
else currentPixel.a = 1.0;
}
currentPixel.a = 1.01;

// makes sharp edges more stable
if (previousPixel.a == 1.0)
Expand Down

0 comments on commit b87e801

Please sign in to comment.