Question by
TeamDefiant · Jun 15, 2020 at 10:28 AM ·
timescalelightsgradient
Gradient.Evaluate doesn't seem to work when timeScale > 1
I'm using Gradient.Evaluate to blend a lights colour depending on the time of day. Midnight is 0.0, midday is 0.5 midnight again is 1.0
This works just fine, until i change timeScale to a value other than 1.0. (To speed up time.) When I do this, the light colour doesn't change at all, until I reset timeScale back to 1.
Does anyone have any ideas why this happens, and how to stop it from going wrong?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613001000im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why my light has stepped gradient after build? 1 Answer
Why is my animation being started, but is not actually playing? 1 Answer
TimeScale and Events 1 Answer
No illumination on WebGl Build 0 Answers
UNET, flaslight's range and spot 0 Answers