By default, rendering group ids go from 0 to 4. You can change the MIN_RENDERINGGROUPS
and MAX_RENDERINGGROUPS
properties in RenderingManager
to modify this range.
So, if you set MIN_RENDERINGGROUPS = -1
, you will be able to set the renderingGroupId
property of the skybox to -1 without changing the renderingGroupId
of the other meshes: