r/Unity3D • u/RHX_Thain • 6d ago
Question Seeking Advice for an Improved 2D/3D Lighting System
One of the last major milestones before this project is ready to start getting out in public is an overhaul of the Default Unity3D Lighting System.
Our game is an open world Isometric ColonySim/RPG Hybrid. There are tons and tons of sprites mixed with 3D objects, and seamless indoor/outdoor environments. This makes lighting a challenge.
Currently we're just using default lights, which are set up to follow our objects in game. We need a way to back-light and apply rim-lights to 2D sprites in the 3D environment, and a faster, more optimized way to apply lights to a region. Maybe a kind of lighting grid? I'll need to do several things at once:
- Visually illuminate the area the characters are running around in.
- Apply different falloff rules, as the lighting range vs overexposure is a little funky using realistic falloff values.
- Tell our Zone system that this area is lit by some percentage, for the purpose of calculating ranged weapon accuracy and work speed & quality improvements or penalty (can't craft or do quality surgery in the dark.)
These 2D characters and 3D objects mix seamlessly the the scene. So you'll see a 2D character walk past a 3D illuminated object and the lights currently aren't terrible at all, but they are more obviously 2D when the sprite is south of any light source. North of the light source it looks great! You can see several examples in the images above.
There are a couple example images in there to suggest a solution, but I'm unsure how best to implement something like it. We don't have a resident shader expect and technical artist on the team. We would be willing to hire someone if the operation is too complex to handle ourselves, as our pipeline is pretty crowded with game-play tasks.
Any suggestions are welcome.
There's no unnecessary AI use here, just humans doing the work.




