speppers

Hey guys,

So I'm trying to add lighting to my 2D game and have changed the material of my spine object to "Skeleton Lit". Everything works as expected and it receives light but my issue is that it seems to only receive light if the light source is in the positive z position. I have other non spine sprites that are using unity's Sprite/Diffuse material which only receives light if the light source is in the negative z position. Granted I don't know much about shaders I was wondering if anyone new an easy way to make "Skeleton Lit" receive light from the negative z position instead (or sprite/diffuse to receive light from the positive z position). Thanks guys!
speppers
  • Сообщения: 1

Cavi

I just added 2 mirrored lights. At positive and negative z. The 'normal' diffused material won't be affected (as you already mentioned), so every Skeleton-lit object does not even to be marked on special layer (but it could)
Cavi
  • Сообщения: 8


Вернуться в Unity