Advertisement
PaleoCrafter

Untitled

Jul 30th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #version 120
  2.  
  3. uniform sampler2D tex;
  4. uniform sampler2D noiseTex;
  5. uniform float windowWidth;
  6. uniform float windowHeight;
  7. uniform float ticks;
  8. uniform float strength;
  9.  
  10. // Shader entry point
  11. void main()
  12. {
  13.     vec4 pos = gl_FragCoord;
  14.     vec2 uv = pos.xy / vec2(windowWidth, windowHeight);
  15.     gl_FragColor = texture2D(tex, uv + (vec2(50, 50) / vec2(windowWidth, windowHeight)));
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement