This will have to store a list of renderables like current Composite node. However, z index should be stored somewhere near related nodes. One possible idea would be to have simple ZIndex {Renderable source, Real index} node and store list of them in ZComposite.
This will have to store a list of renderables like current Composite node. However, z index should be stored somewhere near related nodes. One possible idea would be to have simple ZIndex {Renderable source, Real index} node and store list of them in ZComposite.
This will have to store a list of renderables like current Composite node. However, z index should be stored somewhere near related nodes. One possible idea would be to have simple ZIndex {Renderable source, Real index} node and store list of them in ZComposite.
And, as extension, pseudo-3D composite:
~
Depth-of-field blur can also be applied in similar manner.
Z depth implementation via sorting: