Question by
MarkV43 · Mar 30, 2018 at 07:56 PM ·
shadowsfilterpointlight
Make a Point Light hit only the front side of objects
So, I'm building a game that's supposed to be dark and have some lamps through the scenary. It is 2.5D, which means the game is rendered in 3D but played in 2D. The player is supposed to use the lights to show other parts of the game, so because of that I need the lights to cast shadows. But When I cast them, The front side of the objects is not illuminated:
So then I thought of using a second point light, closer to the camera, that won't cast shadows. This is the result:
So I can easily filter the background off, the only problem is I only wanted that new light to illuminate the front side of those cubes. Is there any way to do it?
Comment