SHARE
TWEET

Untitled

a guest Jul 20th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. vec3 hsv(vec3 i) {
  2.     vec3 p = abs(fract(vec3(i.r) + vec3(1., 2./3., 1./3.)) * 6. - 3.);
  3.     return i.b * mix(vec3(1.), clamp(p - vec3(1.), 0.,1.), i.g);
  4. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top