Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

2D lights with different sorting layers

PanzerPanzer Member

I can't get 2D lights react differently with different sorting layers.

For example, if I have a gameobject with a sprite and a shadow caster 2D, I configure the sprite in the sorting layer "players" and shadow caster to affect sorting layer "ground". If I have two lights where both affect "ground", but only one to "players", both produce shadows over "ground" with the shadow caster that is in "players".

Is it posible that one shadow caster 2D reacts to some lights but not to others?

Comments

Sign In or Register to comment.