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?
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.
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