So the theory is to Draw the Sky first, don't erase the render, then draw the objects on top of it. However, when I try to do it like this. The background goes back to the sky color defined in the BeginScene reference. You will have to forgive me from "Paraphrasing what my presentation, I am actually working with Irrlicht.NetCP, but I can transpose your answers to it.
Code: Select all
device.VideoDriver.BeginScene(True, True, New Color(0, 200, 200, 200))
SkyBox.rotation = Camera.Rotation
smgr.ActiveCamera = SkyBox
SkyBox.render()
smgr.ActiveCamera = Camera
smgr.DrawAll()