+1 vote

I have an outline shader that applies an outline to a selected sprite. What I want to do is to apply that shader to a group of sprites as one singular entity, if that makes sense. Basically, the shader would outline all sprites within the group, but not the areas that overlap.

The closest connection I can make is for digital artists. Have any of you ever used Krita? If you apply an outline "stroke" to a group, the stroke outlines only the edges of the group that it makes as a whole, and not the individual layers.

My question might be harder to understand, so here is an image: https://drive.google.com/file/d/1ChY-GThH0Hm4NgXHgq4mWBhNyfJVwF44/view?usp=sharing
(the image on the right is what I wish to achieve)

Thanks to anyone who offers help!

Godot version 3.4.2
in Engine by (204 points)

Please log in or register to answer this 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 Frequently asked questions and 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 [email protected] with your username.