Hello Guest

Author Topic: Help with Spot Light and tk2dcamera  (Read 5915 times)

bdosari

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 3
    • View Profile
Help with Spot Light and tk2dcamera
« on: November 16, 2013, 10:21:06 pm »
Hi,
I need help with tk2dCamera not showing light on the top part of the screen?
As you can see in the first picture, light is not showing on the background in the upper half. However, when I move tk2dCamera up it will show the light as you can see in the second picture.
My background is a tiled sprite and the shader for it is set to LitBlendVertexColor. And the light I am using is a spotlight.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Help with Spot Light and tk2dcamera
« Reply #1 on: November 16, 2013, 10:22:37 pm »
This was a bug in Unity that they fixed. Maybe they broke it again? What version are you on?

bdosari

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Help with Spot Light and tk2dcamera
« Reply #2 on: November 16, 2013, 10:28:17 pm »
That's weird. I will try another version and see what I come up with.
I am using Unity V4.3.0f4.
And thanks for your help.


unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Help with Spot Light and tk2dcamera
« Reply #3 on: November 16, 2013, 10:32:31 pm »
What version of tk2d are you using? If you create a normal sprite and scale it up, is that lit properly??
You have enabled normals, right?

bdosari

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Help with Spot Light and tk2dcamera
« Reply #4 on: November 16, 2013, 10:44:43 pm »
I am using 2D Toolkit v2.3.0
As you requested I have tried a normal sprite and it gave me the same results.

I have already enabled normals from the sprite sheet settings.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Help with Spot Light and tk2dcamera
« Reply #5 on: November 16, 2013, 10:51:29 pm »
Sounds very much like the bug is back :(
Love it when this happens.


I'll look into it. If you can send me a repro case for this (support at unikronsoftware.com) I'd really appreciate it, as I can report it to Unity and tie it in to my old bug id.