Struct PointLight

Struct Documentation

struct PointLight

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.

Color diffuseColor

Diffuse color of light.

Color ambientColor

Ambient color of light.