+1 vote

How to make so that transparent materials blend together when overlapping (like in the second example)?

enter image description here

in Engine by (60 points)

In 2D or 3D space?

3D, but would be nice to know for 2D too, if I am not asking much.

To do that in 3D you would need something similar to a Z-buffer so that only the closest transparent pixels are shown, not those behind (which could create issues). I don't know how feasible this is...
You could also do that at geometry level but it would be slower.

In 2D, same story. If there is no Z-buffer, you need a buffer at some point to accumulate those objects in an "unshaded" manner and draw them afterwards using transparency on the whole.

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 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.