Tyg
Member
Hi .. i know i made a timer that goes from 0 to 100 in a shader
and i can't remember which one..it goes from 0 to 100 which i can make 0 to 1
but what i need help with is to reverse it like a ping pong
what i am needing it for is for the shader to have the basetexture and the channel0
it goes from day to night with the timer cycle by mixing the 2 textures
but keeps going without the ping pong effect
any help would be appreciated
just figured it out
abs(sin(iTime/100.))
and i can't remember which one..it goes from 0 to 100 which i can make 0 to 1
but what i need help with is to reverse it like a ping pong
what i am needing it for is for the shader to have the basetexture and the channel0
it goes from day to night with the timer cycle by mixing the 2 textures
but keeps going without the ping pong effect
any help would be appreciated
just figured it out
abs(sin(iTime/100.))
Last edited: