MAXScript Language Reference > 3ds Max Objects > Interfaces > Core Interfaces > Core Interfaces Documentation > L >

# Interface: LuminosityUtil

Interfaces > Core Interfaces > LuminosityUtil

| Core Interfaces - Quick Navigation

The LuminosityUtil Interface exposes a method for calculating the luminosity using the given R, G, and B components:

NoteThis feature is exposed in 3ds Max Design only.

Methods:

    <float>LuminosityUtil.illumination <float>r <float>g <float>b

Returns the illumination based on the supplied Red, Green and Blue values.

Note that the contribution of the Red, Green and Blue channels is not identical:

EXAMPLE:
    LuminosityUtil.illumination 255 255 255
    255.0
    LuminosityUtil.illumination 255 0 0
    67.575
    LuminosityUtil.illumination 0 255 0
    170.85
    LuminosityUtil.illumination 0 0 255
    16.575
    LuminosityUtil.illumination 255 255 0
    238.425
    LuminosityUtil.illumination 255 0 255
    84.15
    LuminosityUtil.illumination 0 255 255
    187.425

#### See Also

- Lighting Analysis and DaylightSimulation Tools