Skip to content

Commit b3a3892

Browse files
committed
[Ex42] Fix missing #endif in shader
1 parent ee46628 commit b3a3892

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples_tests/42.FragmentShaderPathTracer/common.glsl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ void missProgram(in ImmutableRay_t _immutable, inout Payload_t _payload)
392392
const vec3 kConstantEnvLightRadiance = vec3(0.15, 0.21, 0.3);
393393
finalContribution *= kConstantEnvLightRadiance;
394394
_payload.accumulation += finalContribution;
395+
#endif
395396
}
396397

397398
#include <nbl/builtin/glsl/bxdf/brdf/diffuse/oren_nayar.glsl>

0 commit comments

Comments
 (0)