acidtrip2.glsl 219 B

1234567891011121314
  1. uniform sampler2D samp9;
  2. out vec4 ocol0;
  3. in vec2 uv0;
  4. uniform vec4 resolution;
  5. void main()
  6. {
  7. vec4 a = texture(samp9, uv0+resolution.zw);
  8. vec4 b = texture(samp9, uv0-resolution.zw);
  9. ocol0 = ( a*a*1.3 - b )*8;
  10. }