Skybox (DEF): Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
Line 31: Line 31:
(or '''up''' / '''ceiling''' / '''ceil''' )<br />
(or '''up''' / '''ceiling''' / '''ceil''' )<br />
(or '''dn''' / '''floor'''  / '''bottom''')
(or '''dn''' / '''floor'''  / '''bottom''')
|-
|}
|}



Revision as of 06:50, 21 February 2020

skybox { [...] }

Defines a skybox that overrides a parallaxing floor or ceiling in OpenGL rendering modes.

NOTE: All six faces are required to be specified.

Tokens

tile <tilenum>

Specifies the ART file tile to override.

pal <palnum>

Specifies the palette number the skybox should happen for.

front <filename>
right <filename>
back <filename>
left <filename>
top <filename>
down <filename>

(or ft / forward )
(or rt / right )
(or bk / back )
(or lf / left / lt )
(or up / ceiling / ceil )
(or dn / floor / bottom)

Defines a single face of the skybox where facename may be any of these keywords appropriate for the face in question.

Examples

Example:

skybox {
  tile 3586 pal 0
  front "mymod/sky_1.png" nocompress 
  right "mymod/sky_2.png" nocompress 
  back  "mymod/sky_3.png" nocompress
  left  "mymod/sky_4.png" nocompress 
  top   "mymod/sky_5.png" nocompress
  down  "mymod/sky_6.png" nocompress
}