RenderWare V2.1

Previous Page Index Next Page

RwLight *

RwSetLightBrightness(RwLight *light, RwReal brightness);

Description

Sets the light’s brightness.

Arguments

light Pointer to the light.

brightness Brightness, in the range CREAL(0.0) to CREAL(1.0).

Return Value

The argument light if successful, and NULL otherwise.

Comments

This function is identical to RwSetLightColor(light, brightness, brightness, brightness). For a scene using colored lights, RwSetLightColor() should be used to control the intensity of the light.

See Also

RwCreateLight()

RwGetLightBrightness()

RwSetLightColor()

RwSetLightColorStruct()

RwGetLightColor()