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
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''skybox''' { [...] }
{{Under construction}}
 
<span {{code}}>'''skybox''' { [...] }</span>


Defines a skybox that overrides a parallaxing floor or ceiling in OpenGL rendering modes.
Defines a skybox that overrides a parallaxing floor or ceiling in OpenGL rendering modes.
Line 7: Line 9:
== Tokens ==
== Tokens ==


'''tile <tilenum>'''
<span {{code}}>'''tile''' <tilenum></span>


Specifies the ART file tile to override.
Specifies the ART file tile to override.


'''pal <palnum>'''
<span {{code}}>'''pal''' <palnum></span>


Specifies the palette number the skybox should happen for.
Specifies the palette number the skybox should happen for.


{| cellpadding="0" cellspacing="0" border="0"
<span {{code}}>'''front''' <filename></span> (or '''ft''' / '''forward''' )<br />
| valign="top" |
<span {{code}}>'''right''' <filename></span> (or '''rt''' / '''right''' )<br />
'''front''' <filename><br />
<span {{code}}>'''back''' <filename></span> (or '''bk''' / '''back''' )<br />
'''right''' <filename><br />
<span {{code}}>'''left''' <filename></span> (or '''lf''' / '''left''' / '''lt''' )<br />
'''back''' <filename><br />
<span {{code}}>'''top''' <filename></span> (or '''up''' / '''ceiling''' / '''ceil''' )<br />
'''left''' <filename><br />
<span {{code}}>'''down''' <filename></span> (or '''dn''' / '''floor'''  / '''bottom''')
'''top''' <filename><br />
'''down''' <filename>
| width="20px" |
| valign="top" |
(or '''ft''' / '''forward''' )<br />
(or '''rt''' / '''right''' )<br />
(or '''bk''' / '''back''' )<br />
(or '''lf''' / '''left''' / '''lt''' )<br />
(or '''up''' / '''ceiling''' / '''ceil''' )<br />
(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.
Defines a single face of the skybox where facename may be any of these keywords appropriate for the face in question.
<span {{code}}>'''nocompress'''</span>
DESCRIPTION
<span {{code}}>'''nodownsize'''</span>
DESCRIPTION
<span {{code}}>'''forcefilter'''</span>
DESCRIPTION
<span {{code}}>'''artquality'''</span>
DESCRIPTION


== Examples ==
== Examples ==

Latest revision as of 03:35, 23 February 2020

This page is under construction.
Please help review and edit this page.

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> (or ft / forward )
right <filename> (or rt / right )
back <filename> (or bk / back )
left <filename> (or lf / left / lt )
top <filename> (or up / ceiling / ceil )
down <filename> (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.

nocompress

DESCRIPTION

nodownsize

DESCRIPTION

forcefilter

DESCRIPTION

artquality

DESCRIPTION

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
}