How to fill background of 3d scene by solid color in heaps.io?

I try to do tiny 3d game with heaps.io and I had problem. How to fill background of 3d scene by specific solid color?

One the way is to create huge plane behind scene and rotate it with camera. Is this way correct or any else ones exists?

P.S. If this is the only way, then the next question is: how to disable the materials property, which changes brightness depending on the angle of incident light? I rotate the camera and my background changes brightness. “BlendMode.None” do not work.

Thanks!

You can set the background/clear color on the Engine instance

var engine = Engine.getCurrent();
engine.backgroundColor = 0x888888;
1 Like