Skip to content

Commit 77c9e67

Browse files
committed
bsdfs: fixed testLightInRange check.
1 parent f5a1ae8 commit 77c9e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/shaders/ShaderChunk/bsdfs.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
bool testLightInRange( const in float lightDistance, const in float cutoffDistance ) {
22

3-
return any( bvec2( lightDistance == 0.0, lightDistance < cutoffDistance ) );
3+
return any( bvec2( cutoffDistance == 0.0, lightDistance < cutoffDistance ) );
44

55
}
66

0 commit comments

Comments
 (0)