Any way to use 2D lights without the 2D renderer?

I’d like to use 2d lights as i’m developing a top down 2d game in URP, but as I’d also like to add some 3d features/objects i found myself using the forward renderer and not the 2d renderer. To make the 2d sprites lit I simply did a material with a shader that gets the sprite texture:

With this material I can now simply use 3D standard lights to light the sprites but I’d like to use the 2d ones as they have some pretty cool features [EDIT: like 2d shadows and easy light shapes]. Any way to make them work without using the 2d renderer?

1 Like

The 2D lights are exclusive to the 2D Renderer. We do want to support mixing 2D and 3D objects in the future, but we haven’t decided on a solution yet.

1 Like

Ok, thanks! I’ll be using simple animated sprites as lights as placeholders for the moment because I found some problems with the standard 3d lights limit in URP, as I would need more than it’s currently achievable

I am currently facing the same problems, is there an update on this?

And would you mind sharing Shader @MAVREE ? :slight_smile:

Hi @Jakems_1 sorry for the super late reply, I ended up using the camera stack (https://answers.unity.com/questions/1665449/how-do-you-use-2d-and-3d-lights-in-unity-simultane.html?childToView=1779020#answer-1779020)