Shadow Caster 2D experimental 2D lights
I'm having this issue when working with the new Shadow Caster 2D in Unity.
https://www.youtube.com/watch?v=tvUNsYCVeIM&feature=youtu.be
Answer by Racines · Feb 06, 2020 at 04:07 PM
This is produced when your shadow caster is too close from the light. Maybe Unity will fix this...
Yes indeed. I found out it is a bug, the workaround for making it work is adding vertexs to the sides of the shadow caster 2D. I'm going to make a video about it explaining the solucion once I have time.
Thank you for your answer!
That would be amazing, I am also having the same problem! I added more around the object and its working as intended now.
$$anonymous$$e too, I'm working on a top-bottom 2d pixel game and that feature would be the "fog of war". If you can help us, please make a script that automatically implements the shadowcast points and a script, because placing exactly all the shadow points in the corners of the sprites of ALL the tilemap is exhausting and tiring. Thanks for listening.
Your answer
Follow this Question
Related Questions
Shader lighting not turning on 0 Answers
some sprites are turning transparent while using a normal map and others don't 0 Answers
Changing URP 2D Lighting in script 0 Answers
apply lighting to custom shader made in shader graph? 0 Answers
Strange light diffusion on tilemap with particle system 0 Answers