Mapdev:skybox: Difference between revisions
From Spring
Jump to navigationJump to search
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# | 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 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 = "",
...
},
...
}