From b71283fa26026014c1f9b92f2094f81d8ad5b57d Mon Sep 17 00:00:00 2001 From: Erich Loftis Date: Thu, 26 Sep 2024 08:51:41 -0500 Subject: [PATCH] Update BVH_Animated_Model_Fragment.glsl --- shaders/BVH_Animated_Model_Fragment.glsl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/shaders/BVH_Animated_Model_Fragment.glsl b/shaders/BVH_Animated_Model_Fragment.glsl index 3dec40f5..d4e47e48 100644 --- a/shaders/BVH_Animated_Model_Fragment.glsl +++ b/shaders/BVH_Animated_Model_Fragment.glsl @@ -869,14 +869,6 @@ void main( void ) currentPixel.rgb *= 0.1; // brightness of new image (noisy) } - // if current raytraced pixel didn't return any color value, just use the previous frame's pixel color - if (currentPixel.rgb == vec3(0.0)) - { - currentPixel.rgb = previousPixel.rgb; - previousPixel.rgb *= 0.5; - currentPixel.rgb *= 0.5; - } - currentPixel.a = pixelSharpness; // check for all edges that are not light sources