Search Unity

Sorting custom image effects without modifying code in V2?

Discussion in 'Image Effects' started by Kolyasisan, Aug 29, 2017.

  1. Kolyasisan

    Kolyasisan

    Joined:
    Feb 2, 2015
    Posts:
    397
    As far as I know, you pretty much can't sort custom image effects in V2. The stack is being rendered through command buffers, while other effects come after that. Can we somehow sort them without modifying the code of an effect? If not, will we be able to do so in the future? This all seems to be extremely complicated.
     
  2. Chman

    Chman

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    721
    You can. There's nothing really complicated about v2, aside from the fact that it needs to be generic enough for custom effects (of course it could be made much simpler if it was done specifically for a single game...) and at the same time it needs to be fast and support a multitude of platforms. I also invite you to read this comment if you're wondering why some of the things are the way they are.