Mapdev:skybox: Difference between revisions

From Spring
Jump to navigationJump to search
Smoth (talk | contribs)
Flozi (talk | contribs)
m →mapinfo.lua: capitalisation matters for wiki links!
Line 15: Line 15:
= Specification =
= Specification =
== mapinfo.lua ==
== mapinfo.lua ==
The relevant sections of the mapinfo.lua file that effect the colour of the ground are in the [[Map_Making:mapinfo.lua#Atmosphere|atmosphere subtable]]
The relevant sections of the mapinfo.lua file that effect the colour of the ground are in the [[Map_Making:mapinfo.lua#atmosphere|atmosphere subtable]]


<code><pre>
<code><pre>

Revision as of 15:10, 21 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