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

Question How to create soft shadows.

Discussion in 'Shader Graph' started by pineapuru, Mar 19, 2021.

  1. pineapuru

    pineapuru

    Joined:
    Mar 21, 2018
    Posts:
    46
    I was testing some things today and noticed that my shader wasn't creating soft shadows like I wanted, on the examples below you can see that with 'AlphaClip' disabled, holes won't even appear, even with the holes on the gradient noise are transparent.

    AlphaClip disabled.


    AlphaClip enabled but in .5f (on 0f the shadow looks just like the image above).


    Isn't there any way to achieve soft shadows just like the gradient noise has its soft 'holes'? Or maybe with the AlphaClip disabled completely? Thanks for the attention. ;)
     
    Last edited: Mar 20, 2021