0 votes

After surfing the Internet a lot, I couldn't found any solution on how to make Occluder2D with translucent factor (not opaque occluder).

The result I want to achieve is the following:
Picture link

Assume every tile have 2D occluder and takes a small amount of light power (or by more complex formula) of light passed directly through the occluder.

As I understood, in 3D for such things DIFFUSE_ALPHA or something similar is provided. But I think 3D renders lights and shadows quite another way, so there are no analogies in 2D.

I searched in shader language docs, for 2D (CanvasItem) there are no any parameters which look like the truth. So am I right that for the current time Godot does not support feature I need in 2D case? Or am I wrong?

Nonetheless, Any tricky workarounds?

in Engine by (26 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]ngine.org with your username.