![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | thecultcity |
Note: doing a 2D project. in Godot 3.0.6
I noticed that the Modulate property can only brighten the sprite even if I set the color value higher than 1.0.
It doesn’t help me since I have sprites with black(#000000) parts in them and they have to flash between white silhouette.
I tried:
- the shader from the second answer from here: https://forum.godotengine.org/20568/how-to-make-a-sprite-white?show=20568#q20568 And it only makes the black sprites to dull grey, rather than the clean white.
- setting Modulate color more than 1.0 Reddit - Dive into anything As I already mentioned above, this just brightens the sprite a bit
- Light 2D node, it gives the same result. which is remaining the black parts of the sprite
Does anyone have a solution for this?
it’s ridiculous to draw multiple white textures for each sprite animation frame.
Why you don’t use animatedSprite?
I don’t see how you could avoid creating white texture variants for most things. As pallet swaps are no longer supported in modern hardware.
coffeeDragon | 2018-10-04 07:36
You can use shaders to do palette swaps fairly easily.
Diet Estus | 2018-10-05 03:04