A light vector is calculated by subtracting the object's position from the light's position. In order for the vector to be correct, both the light position value and the object position value must be in the same space (object space, world space, camera space etc.) So you'll probably need to transform one of the vectors…
Hey guys, it's me again, some quick questions: 1- When transforming my Light Vector to World Space, does it need to be Local, or is there something more to it? I currently have this LV -> Transform from Local to World -> Etc... (Object World Position - World Light Vector). 2- I was looking up the math for Length, which…