Author Topic: Shadows flicker in game view  (Read 29 times)

Kyun

  • Newbie
  • *
  • Posts: 2
    • View Profile
Shadows flicker in game view
« on: July 14, 2019, 12:47:00 AM »
Hello, I'm testing the World_Scene demo and I noted that the shadows on the trees start to flicker/jitter when I go far away from the spawn. Is this due to floating point precision? Is there anyone who solved this and could give me some hints to solve this?

Kind regards
Kyun

Kyun

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Shadows flicker in game view
« Reply #1 on: July 14, 2019, 01:16:40 AM »
When I use post processing and enable Temporal Anti-aliasing the problem seems to be gone.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 4736
    • View Profile
Re: Shadows flicker in game view
« Reply #2 on: July 16, 2019, 11:29:15 PM »
Try increasing your camera's near clip plane. That setting controls the resolution of the depth buffer and in large worlds should not be less than 0.3 or even greater. Here's a good explanation: https://www.sjbaker.org/steve/omniv/love_your_z_buffer.html