You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A colorm.ColorM is for straight alpha colors while ebiten.ColorScale is for premultiplied alpha colors. If you want to apply a ColorScale value to colorm.ColorM, the calculation would be complicated (see the implementation of ColorM.ScaleWithColor). Let's introduce ColorM.ScaleWithColorScale for convenience.
Operating System
What feature would you like to be added?
A
colorm.ColorM
is for straight alpha colors whileebiten.ColorScale
is for premultiplied alpha colors. If you want to apply aColorScale
value tocolorm.ColorM
, the calculation would be complicated (see the implementation ofColorM.ScaleWithColor
). Let's introduceColorM.ScaleWithColorScale
for convenience.EDIT: This was requested by @kazzmir.
EDIT:
DrawImageOptions.ColorScale
seems simpler and more straightforward.Why is this needed?
No response
The text was updated successfully, but these errors were encountered: