Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Feedback VFX smoke/dust shadowing layer order

Discussion in 'High Definition Render Pipeline' started by MikeB_SG, Feb 23, 2024.

  1. MikeB_SG

    MikeB_SG

    Joined:
    Jul 22, 2017
    Posts:
    12
    Hi,

    I've had this problem with VFX smoke/dust shadowing order for a long time.

    The images below which highlight changing priority/order (while in game) fixes it temporarily.

    To fix it properly:
    In the VFX shader graph, output node.
    Sort: On
    Sort Mode: Camera Depth
    Z Write Mode: On
    Z Test Mode: Default
    Sorting Priority: 1+

    The Renderer settings do nothing, and anything other than the above settings, do nothing to help.

    Why isn't this the standard behaviour for dust/smoke?
    Why does the end user have to guess-work five different settings just to get a standard result?
    Why is 'Camera Depth' and 'Distance to Camera' both selectable in the same drop down list Sort Mode, except only one should be used?
    Why are the Renderer settings there at all for Prefabs with Visual Effects?

    Thank you,

    Michael

    Error Image


    Good Image