KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Enable or disable offset color

Macros

#define PVR_SPECULAR_DISABLE   0
 Disable offset colors. More...
 
#define PVR_SPECULAR_ENABLE   1
 Enable offset colors. More...
 

Detailed Description

Enabling offset color calculation allows for "specular" like effects on a per-vertex basis, by providing an additive color in the calculation of the final pixel colors. In vertex types with a "oargb" parameter, that's what it is for.

Note that this must be enabled for bumpmap polygons in order to allow you to specify the parameters in the oargb field of the vertices.

Macro Definition Documentation

#define PVR_SPECULAR_DISABLE   0

Disable offset colors.

#define PVR_SPECULAR_ENABLE   1

Enable offset colors.