User Tools

Site Tools


gamedev:textureproperties:emissivity_intensity

Summary

Texture Property Nameemissivity.intensity
DescriptionDefines the intensity of emitted light
Excepted Data Source1 component value
Data Rangegreater than or equal to 0
Default Value1
Affected ModulesGraphic
Linked Propertiesemissivity

Description

The emissivity.intensity texture property is linked with the emissivity texture property. It defines the intensity of the emitted light. The emissivity texture property defines the color of the emitted light. The final emitted color is thus the emissivity texture property mulitplied component wise with this texture property. The intensity could also be stored directly into the emissivity texture property using a high definition range image. Using this texture property though the intensity can be modified at run-time using renderables. Switching emitting light on and off without changing the skin on an object is a typical use of this texture property.

The intensity value relates to real world light intensities not in a 1-to-1 scale but more in a rescale scale mapping a wel lit room to the value 1 for convenience. An intensity value of 1 thus equals roughly a 100W light bulb or a well lit room at night. 10 equals roughly an overcast day outside. 20 equals roughly a full bright sunny day out in plain sun.

An interesting use for this texture property is to enable and disable or vary the light emission of a material. For this use a renderable with a name like “intensity”. Using a dynamic skin in the game scripts you can then alter the intensity of the emitted light to simulate all kinds of light animations like switching it on and off, flickering or temporarily dimmed lights as seen in gas light bulbs with a defunct starter.

The source is typically a renderable or a single component value greater than or equal to 0.

The default value for this texture property is 1 which equals roughly a 100W light bulb or a well lit room.

Examples

Vending machine at day and night with automatic lights due to the emissivity texture property

Vending machine at day and night with automatic lights due to the emissivity texture property. There is no need to enable or disable lights using game scripts. Physically Based Rendering takes care of letting your materials emit light if it is dark. The emissivity texture property is set to a color image resembling the color texture property with a constant emissivity.intensity for the entire material.

Traffic light with 3 different emissivity.intensity renderables set to different values

Traffic light with 3 different emissivity.intensity renderables set to different values. The red light is set to a bright intensity keeping up with the sunny day light. The yellow light in the middle is set to 0 intensity literally switching it off. And the green light is set to a low intensity resulting in a bareily visible green light against the sun light to show the dimmed light case. All this can be dynamically modified without switching materials.

You could leave a comment if you were logged in.
gamedev/textureproperties/emissivity_intensity.txt · Last modified: 2012/12/03 23:48 by dragonlord