- Home /
directional light following player
Link is here : https://www.youtube.com/watch?v=07IkIVc2Tko&feature=youtu.be everytime my player moves, the directional light shines with me
The light does not move. It seems that it's your whole terrain which moves
Answer by tanoshimi · Jul 08, 2016 at 03:57 PM
It's very hard to see what's going on but, from looking at your hierarchy, why are both the directional light and the FPS controller childed to the terrain object? I'd sort that out first and see if it solves the problem.
Answer by JamesBrodski · Jul 09, 2016 at 07:36 AM
I got it!!! I created a blank material, and dragged it onto my scene. It turned out that I placed my night-time skybox on my terrain and everything turned black. When i dragged the blank material onto it the light started working fine!!!!
Your answer
Follow this Question
Related Questions
Terrain lighting issues 2 Answers
Terrain really bright for no reason 5 Answers
Better shader effects on terrain - Bumpmapping or Specular? 2 Answers
Why Does My Scene Do This? 1 Answer
My sand texture is strangely bright. 0 Answers