0 votes

I'm trying to make a hex tilemap game, and I want to paint each cell with different colors to show property of them. I know godot can not modulate single cell in tilemap so how to achieve it?
I came up with these two methods:
1. A shader drawing large amount of hex, it might be fastest but for now godot can not support uniform array for shader.
2. Create a lot of tiles for different colors in tileset, but it can not be so flexible and I'm worried about its performance.
I'm just a noob so could you tell me any better methods?

Godot version 3.3.2
in Engine by (12 points)
edited by

1 Answer

0 votes

Yes!
Godot can modulate single tile just go to Selected Tile in the inspector and set its modulate colourenter image description here

by (884 points)

Oh I mean modulate a specific cell of tilemap not tile of tileset.
For now Godot can not modulate a single cell of tilemap so I want to find some methods to achieve the same effect.

Sorry I misunderstood your question

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.