there is no variable changed by time, but time_frame is the exact time that the kast frame took to be rendered. you can write a function to add up time_frame so that variable changes by the time. (there is also time_step, check the manual)
I am talking about shaders ... is there any variable in shaders language changed by time ? if not, is there any way that I can pass it to shader from main script ???