Hello there!
I am trying to get the background material of my skybox to render below everything in my scene and I didn’t have much luck right now.
First I tried setting the rendering group id to be -1 so that it would be drawn first. However it doesn’t get rendered at all (yet setting the rendering group id to 2 works if I want to draw it above everything else).
Then I thought about disable the depth write, but it did not work again:
What is the Babylon way of doing that? I know increasing the size of the skybox to some extent can work (but then z-fighting can become an issue), I really just want to draw it below everything like it is the clear color or something ^^