HoratioZEDU

shadernoise

Dec 3rd, 2016
113
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. uniform texture noisey;
  2. float rand(vec2 co){
  3. return fract(sin(dot(co.xy ,vec2(12.9898,78.233))) * 43758.5453);
  4. }
  5. color col = tex(noisey, UV * rand(vec2(TIME, TIME * 0.1)));
  6. if (col.r >= 0.6) {
  7. COLOR = vec4(1 - COLOR.r, 1 - COLOR.g, 1 - COLOR.b, COLOR.a);
  8. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×