mirror of
https://github.com/bevyengine/bevy
synced 2025-01-21 09:34:29 +00:00
29098b7a11
# 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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |