Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Realtime Shadows Popping In and Out

Discussion in 'Editor & General Support' started by Leito, Nov 3, 2014.

  1. Leito

    Leito

    Joined:
    Apr 8, 2014
    Posts:
    37
    Hi,

    I'm working on an environment that has real-time shadows and uses forward lighting. Whenever I run the scene, both in and out of the editor, the shadows will occasionally blink on and off. My scene contains only 1 directional light.

    I've tried playing with a couple of the settings such as bias, shadow distance, shadow type, etc. but they don't seem to solve the issue.

    Any suggestions would be appreciated.

    Thanks.
     
    Last edited: Nov 3, 2014
  2. Leito

    Leito

    Joined:
    Apr 8, 2014
    Posts:
    37
    Looks like it was the far clipping plane being set too high...
     
  3. vbs

    vbs

    Joined:
    Sep 8, 2014
    Posts:
    24
    Reducing the clipping plane distance has not helped me. I still get shadow jitters and pops
     
  4. ItzMedic

    ItzMedic

    Joined:
    Dec 7, 2015
    Posts:
    2
    For anyone still having this problem, try increasing your clipping plane near to 0.1 or higher, it helped me
     
  5. buttmatrix

    buttmatrix

    Joined:
    Mar 23, 2015
    Posts:
    609
    Neither adjusting the far or near clipping planes made any differences for me. Adjusting the rendering path made no difference. What is going on here?
     
  6. buttmatrix

    buttmatrix

    Joined:
    Mar 23, 2015
    Posts:
    609
    Switching to vertex lit solved it. Not a desirable solution.