Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix spot dir nan bug (bevyengine#6167)
# 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
- Loading branch information