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