Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Broken shadows

Discussion in 'General Graphics' started by Eldirfar, Jul 19, 2015.

  1. Eldirfar

    Eldirfar

    Joined:
    Feb 9, 2014
    Posts:
    65
    Hello,
    I came here because of some issue with shadows. I don't know how to call this artifact. I'm using the newest version of Unity.
    Is this because of wall model or light source is too close to the wall?
    Any help would be appreciated.

    broken shadows.png
     
  2. XDSoftworks

    XDSoftworks

    Joined:
    Jul 20, 2015
    Posts:
    54
    hello Eldirfar.

    im having the same problem with shadows but only from directional lights. i have read many people saying objects are too far away from the scene (world) origin, however they say that 10k unity distance units in any direction (let's skip the long story) is enough to cause this bug. i think it is in the unity default shadows script / shader or however they render shadow cascades. i have found a way to fix this bug but it is expensive depending on what platform its on. most pc's are fine but on the mobile its a little laggy.