Grouped Tiles Outline

Godot Version

4.3.stable

Question

I’m working on a project in Godot 4 and I’m trying to create an outline effect for all the tiles that are together, similar to the image below:
image
I can’t use terrains because they take a long time to render, especially when there are a lot of them
I tested a shader that creates an outline, but it only works on individual cells

1 Like

Could you use a viewport to make your tiles into an image, then put an outline around that? Similar to this maybe.