Mapdev:skybox

From Spring
Revision as of 08:50, 20 December 2012 by Enetheru (talk | contribs) (added stuff.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Sky Box

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

Example
(Example screenshot showing this skybox in action).
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