- Home /
Question by
ItsQyden · May 16, 2018 at 10:59 PM ·
lightingdirectional light
Directional lighting not affecting anything other than the player
Trying to create a Unity game as a University student, coding I can do, but Unity I'm struggling with, I've set up the scene, and created a generation of prefabs to create an isometric scene, however the directional lighting object only seems to be affecting the player and not the scene, I have turned off an other light settings I could find to try and fix this, and can not find any solution. Example: https://gyazo.com/5f070fe895643f8baf10a0c362eb4625 (Shows the lighting changing with an intensity editing script).
Comment
Answer by voncarp · May 17, 2018 at 04:37 AM
Try changing the shader of the object that isn't being affected. The shader you are using might not accept lighting.