Skinner::cSkinPainterJobPaintParts class

Applies the diffuse, bumpSpec and tintMask maps of all rigblocks.

This is separated into multiple stages:

  • Stage 0: Loads all the rigblocks diffuse and tintMask textures. Paints the diffuse maps into the skinner texture 0, blending the current color with the diffuse texture, using the tintMask as the mask.
  • Stage 1: Paints the tintMask alpha channel into the skinner texture 0 alpha channel.
  • Stage 2: Loads all the rigblocks bumpSpec textures. Paints the skinner texture 1 red channel with the specBump textures, using the skpSplatSpec material
  • Stage 3: Paints the skinner texture 1 blue channel with the specBump textures, using the 0x968E3FFF material. Source code: Skinner::cSkinPainterJobPaintParts

Base classes

class cSkinPainterJob
Base class for tasks executed in the process of generating a skinpaint texture.

Public functions

auto Execute() -> bool override
Executes the main function of this task.

Public variables

int mStage
int mRigblockIndex

Function documentation

bool Skinner::cSkinPainterJobPaintParts::Execute() override

Executes the main function of this task.

Returns true if the task finished and the process must continue; false if the task didn't finish, and has to be executed again.