Skip to content

Commit c2ec92a

Browse files
should care about BSDFs so cant discard rays like that
1 parent 9f5d027 commit c2ec92a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples_tests/22.RaytracedAO/raygen.comp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ bool gen_sample_ray(
102102

103103
direction = s.L;
104104

105-
return s.NdotL>FLT_MIN && any(greaterThan(throughput,vec3(FLT_MIN)));
105+
return any(greaterThan(throughput,vec3(FLT_MIN)));
106106
}
107107

108108
void main()

0 commit comments

Comments
 (0)