Mapdev:skybox: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
m →mapinfo.lua: capitalisation matters for wiki links!
m →Sky Box: resized images.
Line 4: Line 4:
{| class="wikitable"
{| class="wikitable"
|+ Example
|+ Example
| [[File:Skyboxsimple.gif|256px]] || [[File:Cloudysunset.jpg|256px]]
| align="center" | [[File:Skyboxsimple.gif|292px]] || [[File:Cloudysunset.jpg|350px]]
|-
|-
! Example cube cross before assembling to dds cubemap format !! Ingame Result
! Example cube cross before assembling to dds cubemap format !! Ingame Result

Revision as of 05:23, 28 December 2012

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