2D Toolkit Forum
2D Toolkit => Support => Topic started by: MyNameIsDonovan on July 04, 2013, 06:50:52 pm
-
Hello all, its me again asking another possibly extremely noobish question.
I want my sprites to black out when there's no light on them, so things will remain "hidden" until the players light source hits them.
I tried using the tk2D shaders, but they just slightly grayed them out.
Is there a way to achieve this?
-
The first thing that comes to mind is that you'll need to turn off ambient lighting in render settings, and make sure you are using the tk2d Lit shaders..
-
Yup, I'm pretty sure it is ambient thats making it grey.
-
You guys are the best!!!
Although I couldn't find where to turn off ambient lighting, I just set it to Black. I'm getting the results I wanted so I'm happy :D
Thanks guys!
-
Lol sorry, 'turn off' = set it to zero = make it black, you did the right thing.