Skip to content

Commit

Permalink
Update Transforming_Quadric_Geometry_Showcase_Fragment.glsl
Browse files Browse the repository at this point in the history
  • Loading branch information
erichlof authored Nov 26, 2024
1 parent ae121ea commit f712162
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions shaders/Transforming_Quadric_Geometry_Showcase_Fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -927,11 +927,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 f712162

Please sign in to comment.