Difference between revisions of "Decals"
From FreeSpace Wiki
(Add a basic page for the decal system) |
m |
||
Line 18: | Line 18: | ||
*The filename for a diffuse map. This can be an animation. | *The filename for a diffuse map. This can be an animation. | ||
*Syntax: '''''String''''', filenames should be provided without an extension. | *Syntax: '''''String''''', filenames should be provided without an extension. | ||
− | ====+Loop:==== | + | =====+Loop:===== |
*Whether the animation should loop. | *Whether the animation should loop. | ||
*Syntax: '''''Boolean''''', default is True | *Syntax: '''''Boolean''''', default is True | ||
Line 24: | Line 24: | ||
*The filename for a glow map. This can be an animation. | *The filename for a glow map. This can be an animation. | ||
*Syntax: '''''String''''', filenames should be provided without an extension. | *Syntax: '''''String''''', filenames should be provided without an extension. | ||
− | ====+Loop:==== | + | =====+Loop:===== |
*Whether the animation should loop. | *Whether the animation should loop. | ||
*Syntax: '''''Boolean''''', default is True | *Syntax: '''''Boolean''''', default is True | ||
Line 30: | Line 30: | ||
*The filename for a normal map. This can be an animation. | *The filename for a normal map. This can be an animation. | ||
*Syntax: '''''String''''', filenames should be provided without an extension. | *Syntax: '''''String''''', filenames should be provided without an extension. | ||
− | ====+Loop:==== | + | =====+Loop:===== |
*Whether the animation should loop. | *Whether the animation should loop. | ||
*Syntax: '''''Boolean''''', default is True | *Syntax: '''''Boolean''''', default is True |
Revision as of 09:32, 23 May 2020
Revision information.....
- FSO Git Commit: Date: 2017-11-17 SHA: a3651026
Note: Please update the revision information when the page is updated. If your edit had nothing to do with new code entries then please do not edit the revision information
The Decal system in FreeSpaceOpen can be used to create permanent or semi-permanent effects, like impact marks for example.
This table is distributed exclusively in tbm format (as *-dcl.tbms).
Note that decals are only usable on systems that support deferred rendering and normal mapping.
Contents
General Format
- This table consists of one section, beginning with #Decals and ending with #End.
Core Table
$Decal:
- Starts a decal definition. The name chosen here can be referenced elsewhere and should be unique.
- Syntax: String
+Diffuse:
- The filename for a diffuse map. This can be an animation.
- Syntax: String, filenames should be provided without an extension.
+Loop:
- Whether the animation should loop.
- Syntax: Boolean, default is True
+Glow:
- The filename for a glow map. This can be an animation.
- Syntax: String, filenames should be provided without an extension.
+Loop:
- Whether the animation should loop.
- Syntax: Boolean, default is True
+Normal:
- The filename for a normal map. This can be an animation.
- Syntax: String, filenames should be provided without an extension.
+Loop:
- Whether the animation should loop.
- Syntax: Boolean, default is True