As discussed in https://github.com/FraserLee/bevy_sprite3d/issues/12 there might be a need for more flexibility in which AlphaMode is applied to the sprite material. Having 2 parameters related to alpha would be confusing, so I decided to replace partial_alpha with an optional alpha_mode with docs matching in spirit.
Migration guide:
replace partial_alpha: false with either alpha_mode: None or alpha_mode: AlphaMode::Mask(0.5);
replace partial_alpha: true with alpha_mode: Some(AlphaMode::Blend).
As discussed in https://github.com/FraserLee/bevy_sprite3d/issues/12 there might be a need for more flexibility in which
AlphaMode
is applied to the sprite material. Having 2 parameters related to alpha would be confusing, so I decided to replacepartial_alpha
with an optionalalpha_mode
with docs matching in spirit.Migration guide:
partial_alpha: false
with eitheralpha_mode: None
oralpha_mode: AlphaMode::Mask(0.5)
;partial_alpha: true
withalpha_mode: Some(AlphaMode::Blend)
.