|
vtlib library
|

Public Member Functions | |
| void | SetDarkness (float bias) |
| Set the darkness of the shadow, from 0 to 1. Only supported on newer 3D cards. | |
| float | GetDarkness () |
| Get the darkness, from 0 to 1. | |
| void | SetShadowTextureResolution (const unsigned int ShadowTextureResolution) |
| A single texture is used for the shadow. It's resolution defaults to 1024. | |
| void | SetRecalculateEveryFrame (const bool RecalculateEveryFrame) |
| The shadow may be recalculated every frame, or for improved performance, only when desired. | |
A Shadow node allows you to apply shadows within all its child nodes. Add it to your scene graph, and all descendents will receive a cast shadow. Only certain nodes, which are set with vtNode::SetCastShadow, will cast a shadow.
1.7.4