Sign in to follow this  

Layered Lighting System Using Masks Issue

Recommended Posts

Maybe i'm not understanding you clearly but your saying for each Sprite on the stage have a duplicate Sprite (dark version) added into the "ambient" container?

The thing is that every light on the stage can change position/scale/texture/layer and also intersect with other lights on the stage.

There is also the tilemap (pixi-tilemap) to consider (tiles are generally on layer 0,1,2,3 only) which would be counterproductive to create sprites from.

Each light should be visible through the ambient lighting (of course).

Is there perhaps a different way to go about ambient lighting?

Edited by Nyrion

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.