Documentation/Entity Types/Base/SkyDome.type

From NeoAxis Engine Wiki

Jump to: navigation, search
Go to higher level
Skydome01.jpg

Contents

SkyDome

Description

SkyDome has the same function as Skybox - adds a nice sky to your map. But there significant differences between SkyBox and SkyDome:

  • SkyDome can handle animated sky,
  • SkyDome uses up to four diffuse texture maps that can be blended, and one horizon map,
  • while SkyBox has a cube structure, SkyDome is half-spherical.

Adding a SkyDome to your map

To Add a SkyDome, select the SkyDome entity from the Entity Types window under Types -> Base rollout. You will see a text in your working window: 'Creating "SkyDome" entity. (Click here to create)'. Once do that, you will see that SkyDome appeared in Map Entities window.

Creating a SkyDome


SkyDome properties

To access properties of this entity, check the box next to SkyDome in Map Entities window. The following are available for SkyDome:

Property name Description
DiffuseMap Holds information about texture settings for each Map.
Blending Available for DiffuseMap 2, 3 and 4. Sets how these textures blend with the base Diffuse1Map texture. Available options are Add, Modulate, ColorBlend or AlphaBlend
ScrollSpeed This defines how fast will the sky texture move in X and Y position. Each can have negative or positive value, and 0 means the texture is static.
Texture Allows you to select a texture file for the texture slot.
Tiling Tiling specifies how many times the texture is repeated in each axis. It helps to save some texture space and without sacrificing resolution, however high tiling values often look quite bad because a specific pattern is visible.
HorizonMap This map is reponsible for adding a gradient effect to where the sky meets the ground.
Power Defines the brightness of SkyDome's textures. 1 is minimum and default value, 10 is maximum.

Textures

You can place up to four diffuse textures and one horizon texture in texture slots. Diffuse maps should tile seamlessly for the best effect and each can be animated in different direction and at different speed.