UF_VIEW_lighting_s (view source)
Defined in: uf_view.h
Also known as:
- UF_VIEW_lighting_t
- UF_VIEW_lighting_p_t
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
shininess
double
light_count
int
lights [ UF_VIEW_MAX_VIEW_LIGHTS ]
UF_VIEW_TWO_SIDED_OFF and
UF_VIEW_TWO_SIDED_ON