Hi guys!
I’m having some problems with depth, bin etc.
I did a test here at Yarr, making camera.setFar(70). I thought that the comands below would keep the skybox in view, but they don’t.
Bringing the far clipping plane in very close, with setFar(70), has nothing to do with the depth test. Anything beyond 70 units will get clipped regardless of what bin it’s in or what mode it’s being drawn in.
However, you can make the skybox very small, smaller than 70 units, and then use binning and depth test to force it to draw behind everything else, so that it looks really big. So just add:
self.skybox.setScale(0.01)
or whatever scale is appropriate to bring it sufficiently close.