I am working on getting my directional lights to match the sun in my atmospheric scattering shader.
I have a float that ranges from 0 to 6.28 (TwoPi). How would I calculate a vector3 from this angle?
The reason I need an angle is because my light angle is created like this:
LookAt(new Vector3(100, 100, 100), Vector3.Zero, Vector3.Forward);