Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shader
- spout(
- float s = 0
- [[
- int lockgeom = 0,
- string widget = "null",
- ]],
- float t = 0
- [[
- int lockgeom = 0,
- string widget = "null",
- ]],
- float curvy = 1,
- int invert = 1,
- output float resultF = 0)
- {
- //resultF = pow(t, curvy );
- resultF = (sin((1 - t) * 6.282) + 1)/2;
- if(invert == 1)
- resultF = 1 - resultF;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement