About 2d lighting shadows, how to achieve a better effect ?

Hi, guys. This is my first post on the forum, and I’m a good English speaker, so forgive me if the expression is a little odd.
I’m currently using LWRP and new 2d lighting systems in my 2d game in developing, and there is something about the shadow effect I want to ask.
1 Is it possible to set and update the shadow shihouette automatically base on the sprite? The “Use Renderer Sihouette” option in Shadow Caster 2D component seems to do little with the sprite shape. And if the Caster has sprite sheet animations, it can’t be updated at runtime.
2 Is there a way to change or customize the shadow effect? For me I wan to have soft edges and may be limited cast length.

Heya DandecatLiang! Great to meet you!

Updating the Shadow Caster using the silhouette from the Sprite pixel data is currently not supported yet at this moment but there have been discussions to make this possible.

Adding support for soft shadows and control of cast lengths have been highly requested by others too and we have also feedbacked this to the team. :wink:

1 Like

Thank you for the reply, I will be looking forward to the updates.

1 Like