UFO: Alien Invasion
Loading...
Searching...
No Matches
light_t Struct Reference

a light source More...

#include <r_light.h>

Collaboration diagram for light_t:
Collaboration graph

Data Fields

vec3_t origin
vec4_t color
float radius
struct light_s * next
emittype_t type
float intensity
vec3_t color
vec3_t normal
float stopdot

Detailed Description

a light source

Definition at line 29 of file r_light.h.

Field Documentation

◆ color [1/2]

◆ color [2/2]

vec3_t light_t::color

the color (RGB) of the light

Definition at line 280 of file lightmap.cpp.

◆ intensity

float light_t::intensity

brightness

Definition at line 278 of file lightmap.cpp.

Referenced by BuildLights(), and GatherSampleLight().

◆ next

struct light_s* light_t::next

next light in the chain

Definition at line 275 of file lightmap.cpp.

Referenced by BuildLights(), and GatherSampleLight().

◆ normal

vec3_t light_t::normal

spotlight direction

Definition at line 281 of file lightmap.cpp.

Referenced by BuildLights(), and GatherSampleLight().

◆ origin

◆ radius

◆ stopdot

float light_t::stopdot

spotlights cone

Definition at line 282 of file lightmap.cpp.

Referenced by BuildLights(), and GatherSampleLight().

◆ type

emittype_t light_t::type

light type

Definition at line 276 of file lightmap.cpp.

Referenced by BuildLights(), and GatherSampleLight().


The documentation for this struct was generated from the following files: