BasicClouds

consoledoc.h

Renders up to three layers of scrolling cloud-cover textures overhead.

More...

BasicClouds

bool

Enable or disable rendering of this layer.

filename
texture [3]

Texture for this layer.

float

Texture repeat for this layer.

Point2F

Texture scroll direction for this layer, relative to the world axis.

float

Texture scroll speed for this layer.

Point2F

UV offset for this layer.

float
height [3]

Abstract number which controls the curvature and height of the dome mesh.

Public Static Attributes

bool

Disables rendering of all instances of this type.

bool

Disables selection of all instances of this type.

Detailed Description

Renders up to three layers of scrolling cloud-cover textures overhead.

BasicClouds always renders overhead, following the camera. It is intended as part of the background of your level, rendering in front of Sky/Sun type objects and behind everything else.

The parameters controlling the rendering of each texture are refered to and grouped as 'layers'. They are rendered in sequential order, so, layer 1 obscures layer 0, and so on.

BasicClouds is not affected by scene lighting and is therefore not appropriate for scenes in which lighting radically changes, such as day/night.

BasicClouds

bool layerEnabled [3]

Enable or disable rendering of this layer.

filename texture [3]

Texture for this layer.

float texScale [3]

Texture repeat for this layer.

Point2F texDirection [3]

Texture scroll direction for this layer, relative to the world axis.

float texSpeed [3]

Texture scroll speed for this layer.

Point2F texOffset [3]

UV offset for this layer.

float height [3]

Abstract number which controls the curvature and height of the dome mesh.

Public Static Attributes

bool isRenderable 

Disables rendering of all instances of this type.

bool isSelectable 

Disables selection of all instances of this type.