Shadergraph Day-night cycle
I have a lighting manager script that handles increasing the time of day (a float between 0-24) and makes adjustments to my skybox shader (custom through shadergraph) and for the most part the script and shader work perfectly unless the time of day is less than ~0.001 (00:00:03.6 for the in-game clock) or greater than ~23.994 (23:59:38.4 for the in-game clock) where the lighting goes wonky, I have no idea what is causing this problem so I'll attach all the assets included as opposed attempting to post screenshots and code of almost everything. Assets.zip
Day-night systems I've worked with use a normalized value for time-of-day (0-1, 0.5 being noon). I'm not sure if that helps you or not though. ^^
Your answer
Follow this Question
Related Questions
Point light moves to origin 1 Answer
I got invalid conditional expression error but there isn't any invalid conditional . 0 Answers
Half Lambert / Wrap Diffuse Shader 0 Answers
Help with lighting on billboard shader 0 Answers
Change surface type with LWRP 4 Answers