Start Page » Game Development with the Drag[en]gine » Skin Texture Properties » Texture Property Database » shadow.none
Defines if the material is casting shadows.
Excepted Data Source | 1 component value |
Data Range | 0(no shadow casting) or 1(casting shadows) |
Default Value | 0 |
Affected Modules | Graphic |
Linked Properties | - |
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).
( TODO: example image )