0 votes

Is it possible to apply a color overlay (or some kind of filter) on a sprite that is an imported image?
I've already tried the self modulate option in the editor but it's not working. And I want the effect to be applied in the editor
enter image description here

in Engine by (40 points)
edited by

What do you mean by "self modulate" doesn't work? Because that option is supposed to do what you want.

I mean it really isn't working. I've tried several colors in both modulate and self modulate and nothing changes

Can you share an example of that?

I just added a screenshot

1 Answer

+2 votes
Best answer

Your images are black. Godot can only modulate by color multiplication, so modulating a black image will not change anything. You could use a white image instead (and then set modulate to black if you want black, or red if you want it red).

by (27,829 points)
selected by

You are right, I had to change their color to white. Here is the thing now, I'm using this scene and it's sprites as a base to create a tileset, as shown in the tuts. However, every tile in the tileset is still white. Can something be done about it?

Modulate doesn't work with tiles, so you may either make pre-made textures for each, or use nodes instead of tiles.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.