This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
gamedev:textureproperties:shadow_importance [2019/05/08 22:21] – dragonlord | gamedev:textureproperties:shadow_importance [2019/05/09 08:36] – created dragonlord | ||
---|---|---|---|
Line 4: | Line 4: | ||
</ | </ | ||
- | <WRAP boxheader> | + | ====== |
- | ====== | + | |
- | </ | + | Defines the importance of shadow casting for this object. |
- | <WRAP boxcontent> | + | |
- | |Texture Property Name|shadow.importance| | + | |
- | |Description|Defines the importance of shadow casting for this object| | + | |
|Excepted Data Source|1 component value| | |Excepted Data Source|1 component value| | ||
|Data Range|0 to 1| | |Data Range|0 to 1| | ||
Line 15: | Line 13: | ||
|Affected Modules|Graphic| | |Affected Modules|Graphic| | ||
|Linked Properties|-| | |Linked Properties|-| | ||
- | </ | ||
====== Description ====== | ====== Description ====== | ||
+ | |||
The **shadow.importance** texture property defines a threshold to stop this material from casting shadows. This is a performance optimization and is linked to user settings. If the user chooses a high detail level this shadow is shown otherwise not. To prevent shadows from being cast at all use **[[gamedev: | The **shadow.importance** texture property defines a threshold to stop this material from casting shadows. This is a performance optimization and is linked to user settings. If the user chooses a high detail level this shadow is shown otherwise not. To prevent shadows from being cast at all use **[[gamedev: | ||
Line 25: | Line 23: | ||
====== Examples ====== | ====== Examples ====== | ||
+ | |||
( TODO: example image ) | ( TODO: example image ) |