User Tools

Site Tools


gamedev:textureproperties:shadow_none

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 Value0
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 shadow casting or 1 for no shadow casting. Values below 0.5 are treated as 0 and all others as 1.

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

Examples

( TODO: example image )

You could leave a comment if you were logged in.
gamedev/textureproperties/shadow_none.txt · Last modified: 2014/02/26 21:32 by dragonlord