We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5a1ae8 commit 77c9e67Copy full SHA for 77c9e67
src/renderers/shaders/ShaderChunk/bsdfs.glsl
@@ -1,6 +1,6 @@
1
bool testLightInRange( const in float lightDistance, const in float cutoffDistance ) {
2
3
- return any( bvec2( lightDistance == 0.0, lightDistance < cutoffDistance ) );
+ return any( bvec2( cutoffDistance == 0.0, lightDistance < cutoffDistance ) );
4
5
}
6
0 commit comments