Documentation/Entity Types/Base/SkyDome.type

From NeoAxis 3D Engine Wiki

Jump to: navigation, search
Go to higher level

Overview

The object SkyDome is one of the ways to create a sky for your gameworld in the engine. It's shape is a hemisphere. It supports mixing up to four textures and animations. For a full overview of the various methods you can use to create the sky, we recommend you to have a look at the creating the sky tutorial.

Example Sky Dome

Properties

Parameter Description
class Entity
Components List of attached components.
LogicClass Reference to the Logic Editor class. Read more about how to work with the Logic Editor class.
Name Object name.
Tags User defined information. Defined as keyvalue pairs. It is used for user's needs.
Type Object type. It can not be changed.
class SkyDome
Color Color of the sky.
Diffuse{N}Map Texture of the sky. The property is attached and includes the following:
  • Blending. Sets the mixing mode with the previous texture. Option is available for second and subsequent textures. The following parameters of blending can be chosen: Add (Addition), Modulate (Modulation), ColorBlend (Blending the colors) or AlphaBlend (blending with an alpha channel).
  • ScrollSpeed. Speed offset for texture scrolling on the X and Y coordinates. This parameter can use positive or negative values. By using this setting you can customize clouds animation.
  • Texture. The path to the texture file.
  • Tiling. Tiling frequency of the textures.
HorizonMap Horizon texture. Allows you to add a smooth gradient from the top to the bottom of the sky dome, for a more realistic effect.
Power Brightness of the sky.