Whether to enable lighting.
The DrawingContext instance.
The ShaderProgramManager instance.
The texture unit to use for the normal map.
A Vector2 instance.
OptionalselfShadow: booleanWhether to enable self-shadowing.
OptionalselfShadowPenumbra: numberThe penumbra value for self-shadowing.
OptionalselfShadowThreshold: numberThe threshold value for self-shadowing.
Update lighting uniforms for a given shader program manager. This is a standard procedure for most lighting shaders.