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 again (bevyengine#7176)
# Objective fix error with shadow shader's spotlight direction calculation when direction.y ~= 0 fixes bevyengine#7152 ## Solution same as bevyengine#6167: in shadows.wgsl, clamp 1-x^2-z^2 to >= 0 so that we can safely sqrt it
- Loading branch information