Mapdev:skybox: Difference between revisions

From Spring
Jump to navigationJump to search
added stuff.
 
Smoth (talk | contribs)
Line 4: Line 4:
{| class="wikitable"
{| class="wikitable"
|+ Example
|+ Example
| [[File:Skyboxsimple.gif|256px]] || (Example screenshot showing this skybox in action).
| [[File:Skyboxsimple.gif|256px]] || [[File:Cloudysunset.jpg|256px]]
|-
|-
! Example cube cross before assembling to dds cubemap format !! Ingame Result
! Example cube cross before assembling to dds cubemap format !! Ingame Result
|}</center>
|}</center>
= Location of File =
= Location of File =
Relative to the root directory of the map:
Relative to the root directory of the map:

Revision as of 06:58, 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