How to received Shadow ?
-
To received shadow, they are two posibilities,
The first one (the easy one), without any scripting, you must use the debug mode:
or, you can force it by script on the awake or start event
GetComponent<Renderer>().shadowCastingMode = UnityEngine.Rendering.ShadowCastingMode.On; GetComponent<Renderer>().receiveShadows = true;
-Vetasoft Team