CColorMap: Difference between revisions

From Spring
Jump to navigationJump to search
Yeha (talk | contribs)
No edit summary
 
Flozi (talk | contribs)
redirect to glossary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A ColorMap is a collection of 2 or more number of RGBA colors. They can be expressed either as a string of numbers, or pointing to an image file where each pixel will be used as a color.
#REDIRECT [[Gamedev:Glossary#CColorMap]]
 
Example:
 
This gives a colormap with 2 colors, first one blue and second one white:<br>
<code>colormap=1 0 0 0 1 1 1 0</code>
 
Or it can be pointed to a bitmap file:<br>
<code>colormap=bitmap_file.tga</code>

Latest revision as of 19:10, 27 October 2013