Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 120
- uniform sampler2D tex;
- uniform sampler2D noiseTex;
- uniform float windowWidth;
- uniform float windowHeight;
- uniform float ticks;
- uniform float strength;
- // Shader entry point
- void main()
- {
- vec4 pos = gl_FragCoord;
- vec2 uv = pos.xy / vec2(windowWidth, windowHeight);
- gl_FragColor = texture2D(tex, uv + (vec2(50, 50) / vec2(windowWidth, windowHeight)));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement