Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Mapdev:skybox: Difference between revisions

From Fightorder
interwiki>Flozi
m 1cat
 
m 1 revision imported
 
(No difference)

Latest revision as of 18:14, 12 November 2025

Sky Box

Is a cubemap projection of a skyline used to enhance the background of the map.

Example
File:Skyboxsimple.gif
Example cube cross before assembling to dds cubemap format Ingame Result

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 = "",
      ...
   },
   ...
}

Image File

File Location ./maps/
File Format DXT1 compressed dds cubemap
Colour Depth 4bpp
Channels RGB
Resolution Powers of two, recommended higher than 512x512

Additional Information

Howto's