Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

What's the plan for shadow caster 2d and tilemaps?

Discussion in 'Universal Render Pipeline' started by jehk27, Apr 22, 2021.

  1. jehk27


    Mar 23, 2013
    Maybe this should be posted in the 2d forum but hopefully someone here would know.

    Right now if I add a ShadowCaster2D to a Tilemap it will use the bounds of the tilemap to create shadows instead of using the individual polygons that make up the tilemap.

    I would expect shadows to look like this...


    This is created using Smart Lighting 2D. To achieve this effect using the 2D URP I'd have to create separate ShadowCaster2D game objects and manually fit their polygons to each polygon in the tilemap. That is not a feasible solution.

    Attached Files:

    nonebits likes this.