Hello Guest

Author Topic: Casting Shadows  (Read 15122 times)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Casting Shadows
« Reply #15 on: October 02, 2013, 01:30:21 pm »
It should work fine on a normal orthographic camera. Unless there's another bug in Unity 4.2 which I'm unaware of?
But seeing what you're doing, couldn't you just duplicate the sprite, tint it black & semitransparent - that should give you convincing enough shadows shouldn't it?

Demonocrat

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Casting Shadows
« Reply #16 on: October 02, 2013, 01:33:30 pm »
Yeah, i guess it should =)

I'm just not sure yet how to technically auto attach all fake shadows to objects, so i wanted to avoid that ))

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Casting Shadows
« Reply #17 on: October 02, 2013, 04:41:24 pm »
It will be way way more efficient doing it like that than using shadows. As soon as you turn on lighting & shadows, your draw calls increase massively.

Demonocrat

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Casting Shadows
« Reply #18 on: October 02, 2013, 04:42:54 pm »
Gotcha, ok guess I'll go this way then.

Thanks for all the help!  :D