- Home /
How can I use a depth mask shader to have a 'shine through' effect?
I have picked up a free 2D dynamic light system in which it calculates where light will reach from a certain point and draws a mesh in that 'lit' area. However, I wish to use this effect to have the 'lit' area to simply be a punch through in a black background and i have heard that using a depth mask shader may be what i require. Any help is much appreciated :)
Comment
Your answer
Follow this Question
Related Questions
Is it possible (how?) to hide a light effect with a 2D sprite? 0 Answers
Lighting looks really weird in 2D game 1 Answer
Extrange Behaviour with 2D Lights in Universal RP 0 Answers
Is it possible to use soft shadows in 2D using URP? 1 Answer
2D and 3D lights in a scene. URP,2D and 3D lights in scene URP 1 Answer