DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Expand ModelsModels
Expand DG Kernel ControlsDG Kernel Controls
Expand API ReferenceAPI Reference
Collapse ViewsViews
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > Views > Shadows Go to DGKC docs Search Documentation


Shadows

Use Advanced > View > Shadows in the context menu (Shortcut: v,s) to enable shadows at runtime. Often it is useful to enable floor to view all shadows.

Use IScene_DG.ShadowsEnabled property to enable/disable shadows display programmatically.

Individual entities with surfaces can be excluded from shadows display using IMaterial_DG.CastsShadows or IMaterial_DG.ReceivesShadows properties

See Light sample for an example.