- Home /
Directional light disabling when player is looking away
Hi there. I have a directional light in my scene, one of only two lights in the whole level. It seems that whenever the player looks in the same direction (Looking in the direction that the light travels), the light disables, causing a noticeable flicker. Any ideas? Working in Unity 5.
Is your pixel light count set to 2? (in quality settings)
Set to 8; that was one of the first things I checked.
Answer by cadellinman · Feb 19, 2016 at 01:00 PM
This problem officially had the weirdest solution. I eventually worked out it only seems to occur when standing in one particular area of the map, and only when looking at certain angles- it seems that the light was being disabled when no objects were in view, albeit for terrain. The workaround of course was to add in several tiny cubes miles and miles away from the scene, so that there was always an object in frame. No idea why the light was doing it, but it solved the issue.
Your answer
Follow this Question
Related Questions
Directional light makes everything white 1 Answer
how do i make lights flicker 2 Answers
Spot light creates squares instead of round spot 2 Answers
Blares appear at the junction of two meshes 0 Answers
I need help with directional light 1 Answer