// shadowEnable - enables shadows on the object. // shadowCanMove - performance tweak that skips surface recalc when object is not moveable. // shadowCanAnimate - performance tweak that skips image recalc when object is not animated. // shadowSelfShadow - enables self-shadowing. // shadowDTSShadow - enables casting onto other DTS objects (requires self-shadowing, currently limited to other ShapeBase derived objects, ***see Note 1***) // shadowSize - shadow texture size (must be a power of two). // shadowAnimationFrameSkip - performance tweak that skips image recalc for X rendered frames (ignored when self-shadowing). // shadowMaxVisibleDistance - maximum distance from the viewer the shadow is visible. // shadowProjectionDistance - distance the shadow projects from the casting object. // shadowSphereAdjust - expands the shadow image out beyond the object bounding box by X times (for objects with bad bounding boxes). // shadowBias - adjusts the shadow's error correction. datablock StaticShapeData(handcart_256) { category = "shadowmakers"; shapeFile = "~/data/shapes/warehouse/handcart.dts"; shadowEnable = true; shadowCanMove = true; shadowCanAnimate = true; shadowSelfShadow = true; shadowDTSShadow = true; shadowSize = 256; shadowAnimationFrameSkip = false; shadowMaxVisibleDistance = 5; shadowProjectionDistance = 500; shadowSphereAdjust = 1.5 ; //wtf ? shadowBias = 0.001; //untested };