@pmndrs/reflections
Docs
Examples
GitHub
Preparing search index...
core
DEFAULT_TRACE_ANY_WGSL
Variable DEFAULT_TRACE_ANY_WGSL
Const
DEFAULT_TRACE_ANY_WGSL
:
"\nfn traceAny(origin: vec3f, dir: vec3f, tMax: f32) -> bool { return traceFirstHit(origin, dir, tMax).t >= 0.0; }\n"
= ...
traceAny
for providers without an any-hit walk: the closest-hit walk, hit or not.
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Docs
Examples
GitHub
@pmndrs/reflections
Loading...
traceAnyfor providers without an any-hit walk: the closest-hit walk, hit or not.