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

PowerVR texture color calculation modes More...

Macros

#define PVR_TXRENV_REPLACE   0
 C = Ct, A = At.
 
#define PVR_TXRENV_MODULATE   1
 C = Cs * Ct, A = At.
 
#define PVR_TXRENV_DECAL   2
 C = (Cs * At) + (Cs * (1-At)), A = As.
 
#define PVR_TXRENV_MODULATEALPHA   3
 C = Cs * Ct, A = As * At.
 

Detailed Description

PowerVR texture color calculation modes

Macro Definition Documentation

◆ PVR_TXRENV_DECAL

#define PVR_TXRENV_DECAL   2

C = (Cs * At) + (Cs * (1-At)), A = As.

◆ PVR_TXRENV_MODULATE

#define PVR_TXRENV_MODULATE   1

C = Cs * Ct, A = At.

◆ PVR_TXRENV_MODULATEALPHA

#define PVR_TXRENV_MODULATEALPHA   3

C = Cs * Ct, A = As * At.

◆ PVR_TXRENV_REPLACE

#define PVR_TXRENV_REPLACE   0

C = Ct, A = At.