KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
pvr_fog.h File Reference

Public API for the PVR's hardware fog. More...

#include <sys/cdefs.h>

Go to the source code of this file.

Functions

void pvr_fog_table_color (float a, float r, float g, float b)
 Set the table fog color.
 
void pvr_fog_vertex_color (float a, float r, float g, float b)
 Set the vertex fog color.
 
void pvr_fog_far_depth (float d)
 Set the fog far depth.
 
void pvr_fog_table_exp2 (float density)
 Initialize the fog table using an exp2 algorithm (like GL_EXP2).
 
void pvr_fog_table_exp (float density)
 Initialize the fog table using an exp algorithm (like GL_EXP).
 
void pvr_fog_table_linear (float start, float end)
 Initialize the fog table using a linear algorithm (like GL_LINEAR).
 
void pvr_fog_table_custom (float *table)
 Set a custom fog table from float values.
 

Detailed Description

Public API for the PVR's hardware fog.

Author
Megan Potter
Roger Cattermole
Paul Boese
Brian Paul
Lawrence Sebald
Benoit Miller
Falco Girgis