OpenMoHAA ..
Loading...
Searching...
No Matches
lens_flare Class Reference
Inheritance diagram for lens_flare:
dlight_lens_flare dlight_lens_flare sun_flare_class sun_flare_class

Public Member Functions

bool CheckRange ()
bool CheckRay ()
bool ScreenCalc ()
virtual void Try ()
virtual void Init (const char *which)
void ScreenBlend ()
void InPortalSky ()
void NotInPortalSky ()
void SetVect (const float *vect)
void SetColor (const float *c)
void SetAlpha (float a)
bool CheckRange ()
bool CheckRay ()
bool ScreenCalc ()
virtual void Try ()
virtual void Init (const char *which)
void ScreenBlend ()
void InPortalSky ()
void NotInPortalSky ()
void SetVect (const float *vect)
void SetColor (const float *c)
void SetAlpha (float a)

Public Attributes

float dot_min
float fullscale
int num_flares
flare_s flares [MAX_FLARES]
shader_t * fullscreen
int fullfade
qboolean blend_active
vec3_t trace_v
vec3_t v
vec3_t color
float alpha
vec2_t screen
float dot
int lasttime
float lastbright
bool inportalsky
qboolean initted

Static Public Attributes

static int max_flares

The documentation for this class was generated from the following files:
  • code/renderergl1/tr_sun_flare.cpp
  • code/renderergl2/tr_sun_flare.cpp