FTEQW
Documentation of the FTE engine source tree.
gl_warp.c File Reference

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
 

Function Documentation

◆ R_DrawFastSky()

void R_DrawFastSky ( batch_t batch)

◆ R_DrawSkyChain()

qboolean R_DrawSkyChain ( batch_t batch)

◆ R_DrawSkyroom()

qboolean R_DrawSkyroom ( shader_t skyshader)

◆ R_GetDefaultEnvmap()

texid_t R_GetDefaultEnvmap ( void  )

◆ R_InitSky()

void R_InitSky ( shader_t shader,
const char *  skyname,
uploadfmt_t  fmt,
qbyte src,
unsigned int  width,
unsigned int  height 
)

◆ R_SetSky()

void R_SetSky ( const char *  sky)

◆ R_Sky_Register()

void R_Sky_Register ( void  )

◆ R_SkyShutdown()

void R_SkyShutdown ( void  )

Variable Documentation

◆ r_fastsky

cvar_t r_fastsky = CVARF ("r_fastsky", "0", CVAR_ARCHIVE)

◆ r_ignoreentpvs

cvar_t r_ignoreentpvs
extern

◆ r_skybox_orientation

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.")

◆ r_skyboxname

cvar_t r_skyboxname = CVARFC ("r_skybox", "", CVAR_RENDERERCALLBACK | CVAR_SHADERSYSTEM, R_SkyBox_Changed)

◆ r_skyfog

cvar_t r_skyfog = CVARD ("r_skyfog", "0.5", "This controls an alpha-blend value for fog on skyboxes, cumulative with regular fog alpha.")