User Tools

Site Tools


gamedev:textureproperties:shadow_none

This is an old revision of the document!


Summary

Texture Property Nameshadow.none
DescriptionDefines if the material is casting shadows
Excepted Data Source1 component value
Data Range0(no shadow casting) or 1(casting shadows)
Default Value1
Affected ModulesGraphic
Linked Properties-

Description

The shadow.none texture property defines if this material casts shadows or not. This can be used to create unrealistic materials that cast no shadows or to prevent unintended shadow casting for example if a light source is located inside a model. This is also used in the editors for informational objects to prevent them from casting shadows.

The source is typically a single component value greater either 0 for no shadow casting or 1 for shadow casting. Values below 0.5 are treated as 0 and all others as 1.

The default value for this texture property is 1 (casting shadows).

Examples

( TODO: example image )

You could leave a comment if you were logged in.
gamedev/textureproperties/shadow_none.1354465495.txt.gz · Last modified: 2012/12/02 16:24 by dragonlord