Mapdev:skybox: Difference between revisions
From Spring
Jump to navigationJump to search
m 1cat |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
= Sky Box = | = Sky Box = | ||
Is a | Is a cubemap projection of a skyline used to enhance the background of the map. | ||
<center> | <center> | ||
{| 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 | ||
|}</center> | |}</center> | ||
= 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> | ||
| Line 28: | Line 24: | ||
} | } | ||
</pre></code> | </pre></code> | ||
== Image File == | |||
{| class="wikitable" width="100%" | |||
! width="15%" | File Location | |||
| ./maps/ | |||
|- | |||
! File Format | |||
| DXT1 compressed dds cubemap | |||
|- | |||
! Colour Depth | |||
| 4bpp | |||
|- | |||
! Channels | |||
| RGB | |||
|- | |||
! Resolution | |||
| Powers of two, recommended higher than 512x512 | |||
|} | |||
= Additional Information = | = Additional Information = | ||
== Howto's == | == Howto's == | ||
* [[Mapdev:Howto_skybox]] | * [[Mapdev:Howto_skybox]] | ||
* [http://judegodin.wordpress.com/2011/12/06/how-the-hell-do-i-make-a-cubemap/ howto with 3dsmax] | * [http://judegodin.wordpress.com/2011/12/06/how-the-hell-do-i-make-a-cubemap/ howto with 3dsmax] | ||
* [http://www.cgtextures.com/content.php?action=tutorial&name=cubemaps cgtextures.com] | |||
* [http://wiki.polycount.net/CubeMap#Software polycount.net] | |||
* [http://en.wikipedia.org/wiki/Cube_mapping wikipedia] | |||
[[Category: | [[Category:Map Dev]] | ||
Latest revision as of 21:15, 20 March 2013
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 |
|---|
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 |