Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Sprite Renderer.Cast Shadows Functionality

Discussion in 'Animation' started by lantanadan, Nov 12, 2013.

  1. lantanadan

    lantanadan

    Joined:
    Nov 12, 2013
    Posts:
    1
    I just upgraded to Unity 4.3 and am playing around with the new sprite features. Originally I was using the Transparent-Cutout-Diffuse shader in order to achieve shadows from sprites in a 3D environment. With Unity2D, this functionality is placed into the Animation window, but I'm not sure how to link it all up.

    As of right now, I have a scene with a Point Light with Hard Shadows on, and a fireplace sprite using the Sprites-Diffuse shader, and some space purposefully left between the fireplace and the wall. The fireplace has an Animator component, with a Sprite Renderer.Cast Shadows curve. However, no shadows are being cast on the wall or floor behind it. I'm not sure what I need to hook up where in order to get the sprite to cast a shadow. Can anyone help?