UF_VIEW_lighting_s (view source)
 
Defined in: uf_view.h
 
Also known as:
 
Overview
Each view is allowed a maximum of 8 lights. Each view could have different
shininess factor( ranging from 0.0(UF_VIEW_MIN_SHININESS) to
1.0(UF_VIEW_MAX_SHININESS). Each view could have lights two-sided or
not(UF_VIEW_two_sided_t). Two sided lighting is useful for entities such
as sheet bodies to make sure both side of sheet bodies are lit correctly.
The structure UF_VIEW_lighting_t below is used to define lighting for
each view:


Data Members

two_sided_light
int
The valid values are :
UF_VIEW_TWO_SIDED_OFF and
UF_VIEW_TWO_SIDED_ON

shininess
double
Shininess factor (range is from 0.0 - 1.0)

light_count
int
Total number of lights not to exceed a count of
8 lights.

lights [ UF_VIEW_MAX_VIEW_LIGHTS ]
UF_VIEW_light_t