Hello Guest

Author Topic: Static Sprite Batcher Loosing Normals  (Read 5032 times)

tlcruiser1970

  • Newbie
  • *
  • Posts: 1
    • View Profile
Static Sprite Batcher Loosing Normals
« on: May 25, 2012, 04:55:49 pm »
Hello,

I have a sprite collection where I am gernating normals, but when I commit them to a static batcher they are being lost.  Is this expected behaviour?  Can I edit the static sprite generator script somehow to include normals?  Is there a script I can run in the editor somehow to add normals to the mesh the static sprite gernerator creates?   

I want to use a lit shader so I can create a level where the lights go out and my platformer has to use a flashlight.  Maybe there is a better way.

I tried searching the forum, but could not find anything.  Its hard to search for the word normal, so many people use it for questions, like is this normal?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Static Sprite Batcher Loosing Normals
« Reply #1 on: May 25, 2012, 05:07:27 pm »
That is a bug, static sprite batcher was written long before this feature existed, and never got updated. I'll get it fixed

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Static Sprite Batcher Loosing Normals
« Reply #2 on: May 25, 2012, 11:31:34 pm »
I've fixed this for the next version. Drop me an email if you'd like an early copy.