So I’m working on a 2D platformer and I’m having trouble distinguishing the lighting from above ground and below ground.
Right now I’m just using different materials. One being darker underground and the other being brighter above ground.
This is working the way I like. The player has a simple Point light on them to act as their own personal light.
But above ground is a little too dark for what I want. So I was trying to mess with a directional light to make above ground always ‘light’ but still using the sprites/diffuse material so I could manipulate the light how I want.
But since the directional light is applied to everything, it’s lighting up underground as well.
So I was hoping there was a way to have the directional light only be applied to objects above a certain Y coordinate. Or at the very least tell the directional light to only effect a material I specify. That way I could tell it to only light up the above ground tiles, and not touch underground.
Any help is appreciated, thanks.