pureikyubu/SRC/DolwinVideo/Tev.h
2020-04-26 02:49:19 +03:00

23 lines
443 B
C

#pragma once
enum
{
TEV_DECAL = 0,
TEV_MODULATE,
TEV_BLEND, // enable alpha pass
TEV_REPLACE,
TEV_PASSCLR
};
typedef struct
{
int mode; // one of listed above
int tex; // 0..7 texture coord
int ras; // 0 = COL0A0, 1 = COL1A1
Color col[3]; // 3 constant colors
} TEVStage;
extern TEVStage tevs[16];
void TEVApprox();
void TEVSelectOutput(int stage);