Search Unity

VFX Sort Documentation

Discussion in 'Documentation' started by Optrix, Jul 1, 2019.

  1. Optrix


    May 30, 2017
    I was playing with 2019.1 and I noticed that you could specify a Sort compute shader in the project settings, under "VFX".

    However, I can't find any documentation about what this actually is!

    I'm very curious though, since I'm in the market for a fast-running operator to sort my opaque and transparent meshes during rendering (which I'd normally have to customise via a custom render pipeline).

    Does anybody know what this particular compute shader does, and have any documentation about it?
  2. jo-unity


    Unity Technologies

    Mar 27, 2019
    Hi @Optrix - thanks for the question! It appears you have stumbled across something that's not quite right. This Project Setting should only be available if you have our VFX Graph preview package installed, but it seems like it's showing up for everyone at the moment. I've reported this to the development team who are going to look into disabling this option from appearing if you don't have the package installed.

    To answer your question though, the Sort shader is used to sort particles with particles, and not to sort renders.

    I hope that helps and thanks for reaching out to us.