Nuclide
Software Development Kit for id Tech
fade.qc File Reference

Functions

void Fade_Reload (void)
 Called upon every vid_reload to cache the material definitions required for fade effects. More...
 
void Fade_Update (int x, int y, int w, int h)
 Called every frame to update the actively running fade effects. More...
 
void Fade_StartDark (void)
 Called by the worldspawn key "startdark" to gradually fade in the game view upon map start. More...
 
void Fade_Parse (void)
 Called whenever the client receives a EV_FADE from the server. More...
 

Variables

 enumflags
 
const string mat_fade_modulate
 

Variable Documentation

◆ enumflags

enumflags
Initial value:
{
EVF_FADEDROM,
EVF_MODULATE,
EVF_ONLYUSER
}

◆ mat_fade_modulate

const string mat_fade_modulate
Initial value:
=
"{\n"
"{\n"
"map $whiteimage\n"
"rgbGen vertex\n"
"blendFunc GL_DST_COLOR GL_ONE_MINUS_SRC_ALPHA\n"
"alphaGen vertex\n"
"}\n"
"}\n"