Hello, I’m trying to implement lighting in my shader but I can’t find any way to determine the spotlight angle. Lights in my shader seem to be working fine except that the spotlights are not affected by the cone radius.
How do I get the spotlight angle in my shader? Do I need to use a cookie or something?