Skip to content

Commit

Permalink
Faulty early out which caused post blending errors anyhow
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Glatzel committed May 27, 2017
1 parent 2a949a7 commit b888b4a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/assets/shaders/volumetric_lighting.comp.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ void main()
{
const float densityFactor = uboPerInstance.data0.x;
vec3 cellIndex = vec3(gl_GlobalInvocationID.xyz) + 0.5;

if (densityFactor < EPSILON)
{
imageStore(output0Tex, ivec3(cellIndex), vec4(0.0));
}

const float localLightIntens = uboPerInstance.data0.y;

// Temporal reprojection
Expand Down

0 comments on commit b888b4a

Please sign in to comment.