Hierarchy

  • PBSkybox

Properties

Ignored while skybox_texture is set.

skyColors?: PBSkybox_SkyColors

Procedural sky colors. They also drive the ambient lighting, also while skybox_texture is set. While skybox_texture is set they no longer color the visible sky.

skyboxTexture?: string

Replaces the visible sky with an image, given as its source path with the same rules as Texture.src. It must be an equirectangular (latitude-longitude) image with a 2:1 aspect ratio: the image centre faces +Z, the top row is the zenith and the bottom row the nadir. Cube cross, 3x2 and six-face layouts are not supported. The sun, the fog and the ambient lighting do not change: the ambient still follows sky_colors.

Ignored while skybox_texture is set.