From b888b4a14c8727ac02bcb7fc1169b4befc58bca8 Mon Sep 17 00:00:00 2001 From: Benjamin Glatzel Date: Sat, 27 May 2017 16:02:14 +0200 Subject: [PATCH] Faulty early out which caused post blending errors anyhow --- app/assets/shaders/volumetric_lighting.comp.glsl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/assets/shaders/volumetric_lighting.comp.glsl b/app/assets/shaders/volumetric_lighting.comp.glsl index 850bc6ce..0e1e234e 100644 --- a/app/assets/shaders/volumetric_lighting.comp.glsl +++ b/app/assets/shaders/volumetric_lighting.comp.glsl @@ -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