bevy/crates/bevy_pbr
Patrick Walton 56aa90240e
Only include distance fog in the PBR shader if the view uses it. (#17495)
Right now, we always include distance fog in the shader, which is
unfortunate as it's complex code and is rare. This commit changes it to
be a `#define` instead. I haven't confirmed that removing distance fog
meaningfully reduces VGPR usage, but it can't hurt.
2025-01-23 05:24:54 +00:00
..
src Only include distance fog in the PBR shader if the view uses it. (#17495) 2025-01-23 05:24:54 +00:00
Cargo.toml Bump Version after Release (#17176) 2025-01-06 00:04:44 +00:00
README.md

Bevy PBR

License Crates.io Downloads Docs Discord