bevy/crates/bevy_pbr
Ababwa 15d26da253 Dither fix (#7977)
- Fixes #7965
- Code quality improvements.
- Removes the unreferenced function `dither` in pbr_functions.wgsl
introduced in 72fbcc7, but made obsolete in c069c54.
- Makes the reference to `screen_space_dither` in pbr.wgsl conditional
on `#ifdef TONEMAP_IN_SHADER`, as the required import is conditional on
the same, as deband dithering can only occur if tonemapping is also
occurring.

---------

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2023-03-28 01:50:20 +02:00
..
src Dither fix (#7977) 2023-03-28 01:50:20 +02:00
Cargo.toml Release 0.10.0 (#7919) 2023-03-06 03:53:02 +00:00