47 Object shadow settings and contact patches
The shadow dictionary belongs to the object or scene character instance. It controls that object’s casting, receiving and helper contact patch. These fields are advanced record settings in the current Inspector layout.
"shadow": {
"cast": true, "receive": true,
"doubleSided": false, "transparent": false,
"optimization": "static",
"contactEnabled": false,
"contactSize": 1.0, "contactOpacity": 0.32
}Use doubleSided carefully on a thin surface that needs both sides represented for casting. Check the actual model before using it everywhere. Transparent shadow handling can alter how an alpha material participates; it does not make every translucent shader behave like solid geometry.
Contact Shadow creates a soft flat patch near the object’s base. It can help a character feel grounded when full shadows are too expensive. It is not a screen-space contact-shadow ray trace, and it does not automatically conform to stairs or sloping terrain.
Optimization static/dynamic/disabled selects indirect-light geometry participation. It is not a general promise to cache all direct shadows. Mark a script-moved prop dynamic when using indirect lighting.
