Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

light2d_as_mask: illuminate benath mask without unmasking #1060

Open
urzbs opened this issue May 28, 2024 · 2 comments
Open

light2d_as_mask: illuminate benath mask without unmasking #1060

urzbs opened this issue May 28, 2024 · 2 comments

Comments

@urzbs
Copy link

urzbs commented May 28, 2024

Which demo project is affected:
light2d_as_mask

Description:
Allow Masking and other PointLight2D sources to illuminate the Sprite2D / Texture from behind (without removing the mask).

A Layer option for the CanvasItemMaterial, so you can decide which lightsource causes it to trigger.

cull_example

@Calinou
Copy link
Member

Calinou commented May 29, 2024

Is this a feature proposal? If the engine does not provide this feature, then the demo can't implement this (or perhaps shouldn't, if it's too complex).

Feature proposals should be made on the https://github.com/godotengine/godot-proposals repository.

@urzbs
Copy link
Author

urzbs commented May 31, 2024

Hey, I was not sure if godot has already capabilies like this.

So I thought it would be nice to ask first here since this demo is a good starting point to elaborate.

But you are right, the way I have written my issue seems more like a feature proposal.

I am sorry, i can re-create the issue in the proposals repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants