Skip to content

Commit

Permalink
Update BVH_Animated_Model_Fragment.glsl
Browse files Browse the repository at this point in the history
  • Loading branch information
erichlof authored Sep 26, 2024
1 parent a5e6233 commit b71283f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions shaders/BVH_Animated_Model_Fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b71283f

Please sign in to comment.