- Home /
Gun not receiving shadows
Hi. I'm making an fps and I just made my gun not clip through walls. But after I did that the gun does not receive any shadows when I walk into a dark area. anyone know how to fix this?
How are you doing the no clip? Are you using a secondary camera? Be sure your camera's settings are correct, and that the material on your gun receives and casts shadows. This is a general comment, but I'll need more technical information in order to help further.
I am using the secondary camera. I am very sure that all the settings are correct, and yes the material on the gun receives and casts shadows.
Be sure your camera's culling mask is set to Everything. Also check your light that uses shadows, the culling mask should also be set to Everything on that light.
Your answer
![](https://koobas.hobune.stream/wayback/20220613114156im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Weaponbob for first person shooter 1 Answer
Problems with a shooting script 1 Answer
C# How to have weapon pickup 1 Answer
Gun Firing help? 2 Answers
FPS - Gun Delay while Rotating 0 Answers