bevy/crates/bevy_pbr/src
robtfm 29098b7a11 fix spot dir nan bug (#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
2022-10-05 12:00:07 +00:00
..
render fix spot dir nan bug (#6167) 2022-10-05 12:00:07 +00:00
alpha.rs Document all StandardMaterial fields (#5921) 2022-09-28 21:20:29 +00:00
bundle.rs Visibilty Inheritance, universal ComputedVisibility and RenderLayers support (#5310) 2022-07-15 23:24:42 +00:00
lib.rs Exclusive Systems Now Implement System. Flexible Exclusive System Params (#6083) 2022-09-26 23:57:07 +00:00
light.rs Accept Bundles for insert and remove. Deprecate insert/remove_bundle (#6039) 2022-09-21 21:47:53 +00:00
material.rs Exclusive Systems Now Implement System. Flexible Exclusive System Params (#6083) 2022-09-26 23:57:07 +00:00
pbr_material.rs Document all StandardMaterial fields (#5921) 2022-09-28 21:20:29 +00:00
wireframe.rs Register Wireframe type (#6152) 2022-10-03 16:37:03 +00:00