Skip to content

possibility to mask light when light intersect with another body #94

@alwex

Description

@alwex

Hello, I think it would be a great feature to allow light to be masked by other bodies when they intersects, let say for example

lightObjectDef.filter.groupIndex = -1;
...
boxObjectDef.filter.groupIndex = -1;

so that the two object wont collide but will get into each others. The actual result is that the light is not masked at all

image

the idea is to mask the light the following way

image

keeping the light overflow on.
It would allow for awesome graphics effects (and I really need it).
If anybody has any idea/advices, it would help me a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions