How to use Shadow Caster 2D with Tilemap?

I want to be able to use a Shadow Caster 2D component with Tilemaps. In the picture above, the white squares are tiles from a tile palette and when the light from the red box shines onto them I want them to not show the space behind them. How do I do this?
 
                 
                problem.png 
                (76.3 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
my 2d tilemap prefab's center point is wrong. 1 Answer
Can't disable ambient light (yes, tried all the "solutions" out there) 2 Answers
Unity 2D - Material for light 2 Answers
Specific 2D Shadowing Question 0 Answers
Which version of Unity is more suitable for a pure 2D mobile game for a newbie? 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                