Time based frag shader