• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 310es
2precision mediump float;
3precision mediump sampler2D;
4out mediump vec4 sk_FragColor;
5uniform sampler2D tex;
6in highp vec2 texcoord;
7in highp ivec2 offset;
8void main() {
9    highp int scalar = offset.y;
10    sk_FragColor = texture(tex, texcoord + vec2(offset * scalar));
11}
12