mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
0af8e1c211
# Objective fix error with shadow shader's spotlight direction calculation when direction.y ~= 0 fixes #7152 ## Solution same as #6167: in shadows.wgsl, clamp 1-x^2-z^2 to >= 0 so that we can safely sqrt it |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |