mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
4b78ba0162
Since `StandardMaterial::emissive_exposure_weight` does not get packed into the gbuffer in the deferred case, unpacking uses an implicit default value for emissive's alpha channel. This resulted in divergent behavior between the forward and deferred renderers when using standard materials with default emissive_exposure_weight, this value defaulting to `0.0` in the forward case and `1.0` in the other. This patch changes the implicit value in the deferred case to `0.0` in order to match the behavior of the forward renderer. However, this still does not solve the case where `emissive_exposure_weight` is not `0.0`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |