Mapdev:skybox

From Spring
Revision as of 05:23, 28 December 2012 by Enetheru (talk | contribs) (→Sky Box: resized images.)
Jump to navigationJump to search

Sky Box

Is a cubemap projection of a skyline used to enhance the background of the map.

Example
Example cube cross before assembling to dds cubemap format Ingame Result

Location of File

Relative to the root directory of the map:

./maps/skybox.dds

Specification

mapinfo.lua

The relevant sections of the mapinfo.lua file that effect the colour of the ground are in the atmosphere subtable

local mapinfo = {
   ...
   atmosphere = {
      ...
      skyBox = "",
      ...
   },
   ...
}

Additional Information

Howto's