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:

    0_1519142233752_b122786c-81c7-4e70-8dbc-12146a3d7585-image.png

    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


 

Looks like your connection to Vetasoft Assets was lost, please wait while we try to reconnect.