Modulating alpha channel of an AnimatedSprite3D (pixel art)

Godot Version

Godot 4.2.2

Question

I’m trying to modulate the alpha channel of an AnimatedSprite3D which has a pixel art as a resource (small image). For some reason it just either shows or doesnt show the sprite, there’s no modulation in between.
I even tried a workarround by creating a whole frame by frame animation modulating the transparency but it still didnt work as shown:
alpha

Did you change the SpriteBase3D.alpha_cut mode to Discard? If that’s the case the behaviour you are seeing is correct. Set it to Disabled or Opaque Pre-Pass to be able to modulate its alpha channel.

2 Likes

Aw man I’m so dumb. Thank you so much!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.