Class: Skybox

Skybox

Skybox provides a backdrop "at infinity" for the scene.


new Skybox(materialOrTexture)

Parameters:
Name Type Description
materialOrTexture

Either a TextureCube or a Material used to render the skybox. If a texture is passed, SkyboxMaterial is used as material.

Author:
  • derschmale <http://www.derschmale.com>