Defined in File constant_buffer.h
SpotLightInfo
Used to bind a spot light to the Pixel shader.
Public Members
ambientColor
diffuseColor
diffuseIntensity
attConst
attLin
attQuad
lightPos
range
direction
Direction of axis of light cone.
spot
Increasing spot increases the angular attenuation wrt axis.
angleRange
Lighting effect clipped for angle > angleRange.
pad