Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Command Buffer Execution Order

Discussion in 'Graphics Experimental Previews' started by jjxtra, Mar 7, 2018.

  1. jjxtra

    jjxtra

    Joined:
    Aug 30, 2013
    Posts:
    1,464
    It would be nice if command buffers could be scheduled to execute at a precise index, such as the render queue that is used in shaders. Often I want to render a command buffer right after (or before) a specific material is rendered but this is not possible. Current implementation only has a limited set of choices such a before forward alpha, etc.
     
    AlejMC likes this.
  2. Duusty

    Duusty

    Joined:
    May 14, 2013
    Posts:
    56
    you can achieve something similiarwith the scriptable renderpipeline. As you can specify a renderqueue range to render, you could render all objects beforehand with this renderqueue who would need to be modified by your command buffer.

    And afterwards the rest of your objects.