Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory paint job data

851 bytes added, 04:42, 19 September 2016
Still work in progress. Brief writeup for colormask mode.
=== Airbrush ===
In the airbrush mode, the RGB of the mask texture ('''paint_job_mask) ''' is blended with the base color, using the alpha channel as the blend factor. This mode is active when the attribute '''airbrush''' is ''true''.
=== Colormask ===
In the colormask mode, each of '''paint_job_mask''''s color channels (RGB) acts as a mask for a color being blended over the base texture. They are applied in the order ''blue'', ''green'', and ''red''. So the red channel has the highest “priority”, followed by green and then blue.{{Tip|Texture compression can lead to some minor aliasing at sharp boundaries between the mask channels. To avoid colors ‘bleeding through’ at these boundaries, try blending some of the lower-priority channel ‘under’ the higher-priority channel along their shared boundary. For example, at a sharp boundary between the ''red'' (255, 0, 0) and ''green'' (0, 255, 0) channels, a thin line of the base color may be visible. This can be mitigated by coloring the edge of the }}
=== Flipflake ===
309
edits

Navigation menu