![]() # Objective fix error with pbr shader's spotlight direction calculation when direction.y ~= 0 ## Solution in pbr_lighting.wgsl, clamp `1-x^2-z^2` to `>= 0` so that we can safely `sqrt` it |
||
---|---|---|
.. | ||
render | ||
alpha.rs | ||
bundle.rs | ||
lib.rs | ||
light.rs | ||
material.rs | ||
pbr_material.rs | ||
wireframe.rs |