papptimus
(papptimus)
February 6, 2016, 6:24pm
22
Hey papptimus!
I’m loving what you’ve created here! It’s perfect for the game I’m making, and I’d love to add it to one of my levels. That being said, I can’t get it to work in my game. I followed your tutorial to the letter, and I even tried another light function tutorial with the same results, so I’m pretty sure the code is good. Whenever I apply the material to the light function slot my light doesn’t change at all, and just continues to look like a normal light. All I can figure is that I have something incorrect in the detail panel somewhere, so I’ve attached a screenshot of my current settings. My material is set to be a light function, and the light itself is set to stationary in the viewport, and to not cast static shadows. If you can shed any light in the situation (no pun intended) I’d be most appreciative. Thanks in advance!
Your material is set up correctly the problem is on my end actually, I forgot to mention that it needs to be a spotlight. Sorry about that! I’ve updated the tutorial, thanks for catching that!