Light from Emissive Materials/Objects on Sprites
Hi, im working on a 2.5 Sidescroller and using sprites for the background. However I managed to get the lighting effect on a sprite from point lights. My problem is that I can´t get the light on a sprite from a Emissive Material/Object.
Is this even possible? And when yes how? My Objects are Static. And I'm using the Sprite Diffuse Shader.
This is the Sprite with Point Light ( another room ). This is the Sprite where the Emissive Material/Object is placed.
Thanks in advance :)
If I understand what you mean, you can only achieve global emission through baking on static objects. If you can do this with sprites, it probably wont look right, as it would only be projecting light from all 'sides'.
But how I archive to get the green light on the sprites?
Answer by Namey5 · May 08, 2016 at 10:15 AM
I've looked into it further, and basically; no. You can, however, have it as a quad using the standard shader with fade transparency. It will look the same and interact with lighting better. If you want it to cast and receive shadows, cutout works as well.
What do you mean with "and basically no" ? does it not work with sprites?
to recap my problem here: you see I'm using a green Point Light source works great:
But with my Emissive Object here it does not work:
I tried different Shader, but nothing seems to work.
I posted this as an answer because that's what it is. You can't have baked emission on sprites.
ok thx, and with baked emission you mean my green cube right?
Your answer
![](https://koobas.hobune.stream/wayback/20220612080235im_/https://answers.unity.com/themes/thub/images/avi.jpg)