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

How do Sky Gamblers make their self shadowing?

Discussion in 'Shaders' started by KuangZheng, May 29, 2014.

  1. KuangZheng

    KuangZheng

    Joined:
    Feb 25, 2013
    Posts:
    75
    Hi, I was playing sky gamblers and find that their self shadowing of aircraft is fantastic. I tried unity shadow system on my own aircraft but there are always artifacts, even I used the highest resolution of shadow texture and set appropriate camera far clip, near clip and low shadow distance, the artifacts still exist.

    I did all in
    http://docs.unity3d.com/Manual/Shadows.html
    But it not work.

    Does anybody know how sky gamblers do it or some other way to improve quality of self shadowing?
     
  2. metaleap

    metaleap

    Joined:
    Oct 3, 2012
    Posts:
    589
  3. brianasu

    brianasu

    Joined:
    Mar 9, 2010
    Posts:
    369
    Sometimes if your model units are too large or too small the shadows will not be crisp.
     
  4. KuangZheng

    KuangZheng

    Joined:
    Feb 25, 2013
    Posts:
    75
    Thank you. Do you have any suggestion for Unity?

     
  5. KuangZheng

    KuangZheng

    Joined:
    Feb 25, 2013
    Posts:
    75
    My model units are 1 unity meter for 1 real meter. The aircraft model is about 20 unity meters. The far clip of camera is about 50 unity meters.

     
  6. metaleap

    metaleap

    Joined:
    Oct 3, 2012
    Posts:
    589
    For Unity? Yeah, either try/ask the "ShadowSoftener.com" asset-package authors, or "get your hands dirty" and rewrite all internal shadow-casting and shadow-collecting shader passes based on the insights you gained from Cryteks presentation I linked above :D

    If you're thinking "maybe there's a secret config flag #pragma _enable_2014_shadow_quality_levels" or something like that in Unity or ShaderLab --- nnnope...
     
    Last edited: May 29, 2014
  7. KuangZheng

    KuangZheng

    Joined:
    Feb 25, 2013
    Posts:
    75
    OK. I searched "Shadow Softener", maybe it can solve my problem. ;)