Decals

From FreeSpace Wiki
Revision as of 09:32, 23 May 2020 by The E (talk | contribs)
Jump to: navigation, search

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.

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