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.
  2. Dismiss Notice

Sprites receive shadows and can have transparency?

Discussion in '2D' started by littlecheese999, Dec 23, 2014.

  1. littlecheese999

    littlecheese999

    Joined:
    Oct 29, 2012
    Posts:
    2
    Hey,
    For my 2D game im making, i can set sprites to use the "Default-Deffuse" Material so they receive shadows, this is great for tiles and such, but when i put this on a sprite that needs some parts transparent (like a player) the transparent parts become visible.
    How can i fix this?
    Thanks
     
  2. vakabaka

    vakabaka

    Joined:
    Jul 21, 2014
    Posts:
    1,153
    Try to make material Sprites/Diffuse
     
  3. littlecheese999

    littlecheese999

    Joined:
    Oct 29, 2012
    Posts:
    2
    Thanks, that worked