Archive 17/01/2023.

[Solved] Light rotation in shaders

dragonCASTjosh

Is there a light rotation value within the shaders or will i have to make my own uniform?

1vanK

cLightDirPS ?

cadaver

That’s the forward dir of lights where applicable, don’t think it applies to point lights. If you want a general transform matrix of the light node then make a new uniform.

dragonCASTjosh

Worked perfectly