Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

[Next-Gen Soft-Shadows 2] Sophisticated dynamic penumbra Shadows for Unity

Discussion in 'Assets and Asset Store' started by tatoforever, Nov 8, 2016.

?

Would you like to buy this on the Asset Store? If so, how much?

Poll closed Jul 10, 2017.
  1. I like it to be priced between 20 to 10$.

    56.8%
  2. I like it to be priced between 10 to 5$.

    39.0%
  3. Zero $, I'm not interested, I love my Unity's default aliased, pixelated horrid-shadows.

    4.2%
  1. tatoforever

    tatoforever

    Joined:
    Apr 16, 2009
    Posts:
    4,083
    @sacb0y,
    HDRP has decent shadows but NGSS provides more ways to improve the look and quality of shadows while being relatively faster in most cases.
     
  2. Zapan15

    Zapan15

    Joined:
    Apr 11, 2011
    Posts:
    130
    Thank you for the Feedback. We tried setting the test sampling to 32 and it removes a lot of the noise, but not all. So if there are some tiny objects in the scene, these noise is always there?



    We have copied the following files like mentioned in the documentation: "AutoLight.cginc", "UnityDeferredLibrary.cginc", "UnityShadowLibrary.cginc". When playing around with the denoise values, the noise is not changed, but the shadows get blurred.

    Thank you for the tip with the asset for cad files, we will give it a try :)
     
  3. tatoforever

    tatoforever

    Joined:
    Apr 16, 2009
    Posts:
    4,083
    Hi,
    If you rise the SHADOW_SOFTNESS while keeping PCSS_SOFTNESS intact it will spread the blockersearch sampling and create white noise, the problem you are having. What you want to do is reduce SHADOW_SOFTNES and play with PCSS_SOFTNESS (reduce NEAR and rise FAR values).
    PS: You can use the libraries setup installer to one click install/uninstall any NGSS library. Look for it in the top TOOLS menu.
     
  4. ksam2

    ksam2

    Joined:
    Apr 28, 2012
    Posts:
    1,056
    Ok thanks. Then I will use it only for far distance.

    I use SE Screen-Space Shadows plugin too for close distance but when I enable Frustum Shadows it disables SE Screen Space Shadows. Can you please find a way to use both assets? I also use two directional lights
     
  5. tatoforever

    tatoforever

    Joined:
    Apr 16, 2009
    Posts:
    4,083
    @ksam2,
    You don't need any other screen space shadows, FrustumShadows can do both (far and close), reduce the Start distance to also get close up detailed shadows.
     
  6. ksam2

    ksam2

    Joined:
    Apr 28, 2012
    Posts:
    1,056
    I know but SE screen space shadows looks better for close distance (Specially the faces) I also need FrustumShadows for far distance
     
  7. tatoforever

    tatoforever

    Joined:
    Apr 16, 2009
    Posts:
    4,083
    If you can afford sampling the depth buffer twice ok.
     
  8. chingwa

    chingwa

    Joined:
    Dec 4, 2009
    Posts:
    3,643
    Hi @tatoforever I'm a bit late to the game here, is there a description somewhere of the benefits/improvements to NGSS2, compared to the original version?
     
  9. tatoforever

    tatoforever

    Joined:
    Apr 16, 2009
    Posts:
    4,083
    Hi,
    - Overall improvements to quality and performance
    - Screen space blue noise and dithering algorithms
    - Denoiser
    - Frustum Shadows (covers both far away shadows and upclose contact shadows)
    - One click install/uninstall
    - Cloud build support
    - Compatible with all libraries that changes Unity internal rendering files

    And obviously that comes with real-time support on discord and free custom integration. :)
     
  10. chingwa

    chingwa

    Joined:
    Dec 4, 2009
    Posts:
    3,643
    Blue noise... oh I might have to upgrade just for that alone! :D Thanks!
     
    tatoforever likes this.
  11. Gaoyu2020

    Gaoyu2020

    Joined:
    Aug 25, 2014
    Posts:
    19
    when support hdrp and urp?
     
  12. sacb0y

    sacb0y

    Joined:
    May 9, 2016
    Posts:
    307
    Eagerly waiting, hell I'll try a beta if you have it! XD
     
  13. tatoforever

    tatoforever

    Joined:
    Apr 16, 2009
    Posts:
    4,083
    Hey guys,
    I still don't know why I don't get notifications when I get messages on the forums. Hence why i prefer discord. :|
    SRP is coming later this year early in 2021, I'm currently finishing our game port for consoles and only doing support until we finish the port but please go to my discord, I'm always there for any problem, question or tips you need, even non NGSS related. :)
    Happy Halloween everyone!
     
  14. DrInternet

    DrInternet

    Joined:
    Apr 6, 2014
    Posts:
    98
    Disregard this; it turns out openvr (unlike oculus sdk) needs also additional steamvr sdk to works properly.
     
    tatoforever likes this.
  15. dsilverthorn

    dsilverthorn

    Joined:
    May 14, 2017
    Posts:
    666
    Just finished my latest project, a classical music video called "By the Brook".
    Thought I'd share it with everyone. This was developed throughout the pandemic as a form of relaxation.The music and scene were started in February when everything was getting shut down. The music (composed by my wife) was finalized in late September and the scene was finally completed this week.
    The goal was to take a few minutes and relax and let all of the world's trouble pass you by and just have a few minutes of peace before you have to get back to reality. I hope you enjoy the escape.
     
    tatoforever likes this.
  16. tatoforever

    tatoforever

    Joined:
    Apr 16, 2009
    Posts:
    4,083
  17. dsilverthorn

    dsilverthorn

    Joined:
    May 14, 2017
    Posts:
    666
    Thank you and we would love to add it to your Discord!
     
  18. daniel5johansson

    daniel5johansson

    Joined:
    Jun 21, 2018
    Posts:
    4
    Hi @tatoforever, I'm really in need of Cached Shadows. If they work the way that I expect. Does it mean that you can render a shadow map on demand, and then use the same map for several frames, instead of calculating shadows every frame? In that case, please tell me when you think it will be released. Or if I can beta test it somehow. Thanks!
     
    AlteredPlanet likes this.
  19. Anisoft

    Anisoft

    Joined:
    Jul 5, 2013
    Posts:
    120
    @tatoforever
    Heyo, recently bought this amazing asset!

    Sorry if this has been asked but I'm genuinely curious what NGSS will add on top of what HDRP already provides. I know HDRP provides better shadows then Standard as well as Hard Contact Shadows.

    I'm curious if this will be a complete replacement or just build on top of what HDRP has to improve performance. I assume NGSS is faster overall so it'd probably replace it entirely?
     
    passeridaepc likes this.
  20. vlastan

    vlastan

    Joined:
    Nov 15, 2015
    Posts:
    20
    I just encounter the same problem. Recreating the light solved the problem. Thank you very much.
     
  21. Jakub_Machowski

    Jakub_Machowski

    Joined:
    Mar 19, 2013
    Posts:
    476
    Hello I have a question is Your shadow system more performant than standard unity sshadows? We have esspecially problem with realtime directional light shadows when light is low angle(like sunset) Will Your system help here ? :)
     
  22. Jashengmato

    Jashengmato

    Joined:
    Mar 23, 2013
    Posts:
    11
    I have encounter the same problem, which got solved by set player settings from 'Fastest' to 'Fantastic'.
    Donno why.
    Maybe you can start investigate from there.
     
  23. dsilverthorn

    dsilverthorn

    Joined:
    May 14, 2017
    Posts:
    666
  24. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    329
    Fantastic work!
    At 2:00 the horse's feet slide a little bit over the ground. ;)
    Really beatiful work
     
  25. dsilverthorn

    dsilverthorn

    Joined:
    May 14, 2017
    Posts:
    666
    Thanks.
    Must have been the rain and mud that caused the horse to slip in the mud ;)
     
    dirkjacobasch likes this.
  26. marcrem

    marcrem

    Joined:
    Oct 13, 2016
    Posts:
    250
    Any update on URP support?
     
    GridWanderer, Crayz, Jes28 and 2 others like this.
  27. viktorkadza

    viktorkadza

    Joined:
    Sep 4, 2018
    Posts:
    46
    Hi , any plans for webgl platform ?
     
    GridWanderer likes this.
  28. Cactus_on_Fire

    Cactus_on_Fire

    Joined:
    Aug 12, 2014
    Posts:
    601
    Sup Tato. I saw this video of yours a while back about SDF shadows. Did you make any products with this?
     
    OCASM likes this.
  29. nobluff67

    nobluff67

    Joined:
    Nov 3, 2016
    Posts:
    244
    Are there any consideration you need to keep in mind when integrating your asset with MapMagic and Enviro Sky?
     
  30. adamz

    adamz

    Joined:
    Jul 18, 2007
    Posts:
    1,063
    @tatoforever

    Hi, are there any issues with using this with VR?
     
    tatoforever likes this.
  31. tatoforever

    tatoforever

    Joined:
    Apr 16, 2009
    Posts:
    4,083
    None.
     
  32. NamraGame

    NamraGame

    Joined:
    Feb 17, 2019
    Posts:
    25
    Hi! Your asset looks fantastic, but I'm waiting for the URP version!
    I hope it is gonna come soon :)
     
  33. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,322
    is there any speed comparison of this asset on mobile vs the unity default system? i'm looking for the fastest shadows possible since all my work is on mobile
     
    GridWanderer likes this.
  34. dsilverthorn

    dsilverthorn

    Joined:
    May 14, 2017
    Posts:
    666
    tatoforever and dirkjacobasch like this.
  35. dsilverthorn

    dsilverthorn

    Joined:
    May 14, 2017
    Posts:
    666
    Apollo's Dream II is now live!
    A ton of work went into this one, I hope everyone will enjoy it.
    Creating beauty with Unity for a Virtual Experience with an original soundtrack is a lot of fun and I hope it shows in the video.

    NGSS is on all my projects now and everything runs so much smoother!
    @tatoforever , you made me an offer to try it, I did, and now I can't live without it! Thank you!!
    It is amazing how much proper shadows change a scene.
     
    tatoforever and dirkjacobasch like this.
  36. gurayg

    gurayg

    Joined:
    Nov 28, 2013
    Posts:
    246
    Hello @tatoforever , We're working on a a 2.5D project and it has Time of Day + Weather.
    I was thinking since we're 2.5D we should be able to get away with fast shadow calculations.
    Any recommendations on NGSS settings for a 2.5D project?
     
    tatoforever likes this.
  37. tatoforever

    tatoforever

    Joined:
    Apr 16, 2009
    Posts:
    4,083
    Guys,
    I have problems with Unity Forums email notifications, if you don't mind to reach me through discord: https://discord.gg/jWEUXYw
    I'm on Discord the whole day, and provide real-time support. :)
     
    gurayg likes this.
unityunity