Hi, I'm trying to understand how can I split entities into groups and render them in custom order.
That is, for example, first render SkyBox - behind all entities, than a Ground - plane mesh in front of SkyBox, but behind everything else. Then render a group of many transparent entities in order of creation. After that all other entities render "as usual" with ColorDepthBuffer. For now I'm using one viewport and one camera. Do I understand right, that I can do such rendering with help of set of LayerFilters (like in example Deferred Renderer http://doc.qt.io/qt-5/qt3drender-framegraph.html) with different parameters of ClearBuffers? So that framegraph tree is look something like this: Viewport RenderSurfaceSelector LayerFilter1 LayerFilter2 LayerFilter3 ... CameraSelector1 CameraSelector2 CameraSelector3 ... [1to1 with LayerFilters] [one scene camera set to all cameraselectors] ClearBuffers1 ClearBuffers2 ClearBuffers3 ... [1to1 with CameraSelector] If I'm understand framegraph description http://doc.qt.io/qt-5/qt3drender-framegraph.html correctly. I can set one CameraSelector on top of viewport with same result, right? Thank you for corrections in advance. Thank you! --- Regards, Oleg
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest