Hello! I’m looking to create a shader and fix the issue of the texture ‘flipping’ when the rotation of the Sun Light reaches above 180 (or below 0 as well). Currently we have a constant input for time, and the atmosphere sun light vector put in for speed (as mentioned by this post .)
Our logic works for what we want, but how do we solve the issue of the flipping? Do we need two separate textures (with the second flipped, to be used between 180-360 degrees)? We’re hoping for code to fix it as that is easily replicable. We’re just using fill in shaders for the moment, I’ve included the one used in the screenshot.
If it changes anything else, we’re using 5.4. Thanks for any input!