- Home /
Gun with separate camera not receiving shadows.
Hi everyone,
So to prevent my gun from clipping through walls and similar objects when you get close enough, I followed the advice I found here, which was to assign it to its own layer then make a new camera that renders only that layer.
This works great, but now the gun does not receive any shadows. Yes, the mesh renderer is set up to receive shadows, and when I draw everything with this new camera, the gun does receive the shadows.
I tried putting the light on a new layer and have the new camera draw both the light and gun layers, but that doesn't seem to work. Anyone have any advice for me?
Comment