Table of Contents

, , , ,

Start Page » Game Development with the Drag[en]gine » Skin Texture Properties » Texture Property Database » rim.emissivity

Skin Texture Property: rim.emissivity

Defines the component wise rim light emission of a surface.

Excepted Data Source3 component image
Data Range0 to 1 for all components
Default Value(0, 0, 0)
Affected ModulesGraphic
Linked Propertiesrim_emissivity.intensity

Description

The rim.emisivity texture property defines the component wise rim light emission of a surface. Rim light intensity is multiplied by the angle difference between the camera view plane and the surface normal. This allows to create unit selection or ghost like effects where objects glow along their rim while not glowing seen face on.

Using light emission objects glow in the darkness. Emission is not affected by Physically Based Rendering as it acts as a light source. This texture property defines the color of the emitted light. This allows to use an 8 bit image as the source as well as allowing to adjust the light emission strength individually using the rim.emissivity.intensity texture property.

There is no need to disable dynamically emitted light by switching materials or using renderables using the Drag[en]gine. The Physically Based Rendering uses high defninition range rendering. If your emitted light has an intensity of 1 or less while the object stands in the sun with over 10 intensity all around the emitted light is not going to contribute much to the illumination of the scene which is consistent with the real world. If your materials shines at night just add an emissivity texture and forget about the rest. It will just work.

This texture property is also used for holographic materials, ghosts or other objects where typically transparency effects are used in other game engines. Transparency effects are though physically wrong for these materials. Furthermore transparency is slower than emission. In the Drag[en]gine you have to use a physically correct way to define these materials. You have to set the solidity texture property to 0. This turns the material fully invisible not rendering it at all while still emitting light.

The source is typically an 8 bit 3 component image with all components in the range from 0 to 1. High definition range values above 1 are possible if extrem light differences are required. Better use though the rim.emissivity.intensity texture property to scale the intensity of the emitted light.

The default value for this texture property is (0, 0, 0) not emitting light at all.

Examples

Example usage of rim.* skin texture properties and building a blue ghost skin.