Blendtable (DEF): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''blendtable''' <blendtable> { [...] } | '''blendtable''' <blendtable> { [...] } | ||
Loads a blend table from a raw image file. | |||
The image file MUST contain a 256 color table of its own. Each pixel will have their matching color in the table converted in the blend table. | |||
A single image file may contain multiple base palettes, and '''offset''' can used to locate it. | |||
The first ID is reserved to the 33% transparency. | |||
See also [[numalphatables (DEF)|numalphatables]]. | See also [[numalphatables (DEF)|numalphatables]]. |
Revision as of 01:32, 22 February 2020
blendtable <blendtable> { [...] }
Loads a blend table from a raw image file.
The image file MUST contain a 256 color table of its own. Each pixel will have their matching color in the table converted in the blend table.
A single image file may contain multiple base palettes, and offset can used to locate it.
The first ID is reserved to the 33% transparency.
See also numalphatables.
Tokens
raw
- file
- offset
glblend
- forward
- reverse
- both
- src
- sfactor
- top
- dst
- dfactor
- bottom
- alpha
- ZERO
- ONE
- SRC_COLOR
- ONE_MINUS_SRC_COLOR
- SRC_ALPHA
- ONE_MINUS_SRC_ALPHA
- DST_ALPHA
- ONE_MINUS_DST_ALPHA
- DST_COLOR
- ONE_MINUS_DST_COLOR
copy undef