I'd like to have a shaded color rect as a backdrop for some 3d geometry. According to docs this can be done by setting the background mode of camera's environment to "Canvas" (BG_CANVAS), and adjust Canvas Max Layer property to determine which canvas layers will be drawn in background.
However, when I do that and create a CanvasLayer with a ColorRect child, the rect is always drawn on top of 3d geometry. Curiously, all 3d stuff is drawn as if framebuffer is never cleared inbetween frames.
I tried to play with CanvasLayer's Layer property and Canvas Max Layer property in the environment, as well as moving the CanvasLayer node around in the scene hierarchy, but can't get it to work. It's always drawn over 3d.