I’m wondering how to retrieve the current “color” of the sun light at any given setting for the three.js sky.js library.
I’m also looking to resize/replace the sun disk.
Setting additional uniforms for them? I’m learning about glsl and would like to know how.
I see where the “sun disc” and some “color” floats at the bottom of the glsl code are.
I’ve got the sun vector3 being used for a directional light properly. Now I want to change the light’s color and intensity according to the shader’s sun light.
Also resize/replace the disc with an optional moon, and retrieve ambient color to feed into the sky arg of my hemisphere light.
Any pointers would be great.