Struct SpotLight¶
Defined in File spot_light.h
Struct Documentation¶
-
struct
SpotLight¶ Public Members
-
float
attConst¶ attenuation = 1/(attConst + attLin * r + attQuad * r * r)
-
float
attLin¶ attenuation = 1/(attConst + attLin * r + attQuad * r * r)
-
float
attQuad¶ attenuation = 1/(attConst + attLin * r + attQuad * r * r)
-
float
range¶ Lighting effect clipped for distance > range.
-
float
diffuseIntensity¶ Diffuse intensity of light.
-
float
spot¶ Increasing spot increases the angular attenuation wrt axis.
-
float
angleRange¶ Lighting effect clipped for angle > angleRange.
-
float