FTEQW
Documentation of the FTE engine source tree.
|
Functions | |
void | R_SkyShutdown (void) |
texid_t | R_GetDefaultEnvmap (void) |
void | R_SetSky (const char *sky) |
void | R_DrawFastSky (batch_t *batch) |
qboolean | R_DrawSkyroom (shader_t *skyshader) |
qboolean | R_DrawSkyChain (batch_t *batch) |
void | R_InitSky (shader_t *shader, const char *skyname, uploadfmt_t fmt, qbyte *src, unsigned int width, unsigned int height) |
void | R_Sky_Register (void) |
Variables | |
cvar_t | r_fastsky = CVARF ("r_fastsky", "0", CVAR_ARCHIVE) |
cvar_t | r_skyboxname = CVARFC ("r_skybox", "", CVAR_RENDERERCALLBACK | CVAR_SHADERSYSTEM, R_SkyBox_Changed) |
cvar_t | r_skybox_orientation = CVARFD ("r_glsl_skybox_orientation", "0 0 0 0", CVAR_SHADERSYSTEM, "Defines the axis around which skyboxes will rotate (the first three values). The fourth value defines the speed the skybox rotates at, in degrees per second.") |
cvar_t | r_skyfog = CVARD ("r_skyfog", "0.5", "This controls an alpha-blend value for fog on skyboxes, cumulative with regular fog alpha.") |
cvar_t | r_ignoreentpvs |
void R_InitSky | ( | shader_t * | shader, |
const char * | skyname, | ||
uploadfmt_t | fmt, | ||
qbyte * | src, | ||
unsigned int | width, | ||
unsigned int | height | ||
) |
void R_SetSky | ( | const char * | sky | ) |
cvar_t r_fastsky = CVARF ("r_fastsky", "0", CVAR_ARCHIVE) |
|
extern |
cvar_t r_skybox_orientation = CVARFD ("r_glsl_skybox_orientation", "0 0 0 0", CVAR_SHADERSYSTEM, "Defines the axis around which skyboxes will rotate (the first three values). The fourth value defines the speed the skybox rotates at, in degrees per second.") |
cvar_t r_skyboxname = CVARFC ("r_skybox", "", CVAR_RENDERERCALLBACK | CVAR_SHADERSYSTEM, R_SkyBox_Changed) |