I’m trying to pass the direction of my directional light to a material instance.
How do I turn the lights rotation into a Vector3 (LinearColor) value that can be passed into the material instance?
Thanks.
I’m trying to pass the direction of my directional light to a material instance.
How do I turn the lights rotation into a Vector3 (LinearColor) value that can be passed into the material instance?
Thanks.