From f712162e151731b3711a34e5c4e64e6534956598 Mon Sep 17 00:00:00 2001 From: Erich Loftis Date: Tue, 26 Nov 2024 01:02:57 -0600 Subject: [PATCH] Update Transforming_Quadric_Geometry_Showcase_Fragment.glsl --- .../Transforming_Quadric_Geometry_Showcase_Fragment.glsl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/shaders/Transforming_Quadric_Geometry_Showcase_Fragment.glsl b/shaders/Transforming_Quadric_Geometry_Showcase_Fragment.glsl index ec5599db..77b2363f 100644 --- a/shaders/Transforming_Quadric_Geometry_Showcase_Fragment.glsl +++ b/shaders/Transforming_Quadric_Geometry_Showcase_Fragment.glsl @@ -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)