KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches

Enable or Disable Offset Color. More...

Macros

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

Detailed Description

Enable or Disable Offset Color.

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
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

◆ PVR_SPECULAR_DISABLE

#define PVR_SPECULAR_DISABLE   0

Disable offset colors.

◆ PVR_SPECULAR_ENABLE

#define PVR_SPECULAR_ENABLE   1

Enable offset colors.