• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*#pragma settings IncompleteShortIntPrecision*/
2
3uniform sampler2D tex;
4in float2 texcoord;
5in short2 offset;
6
7void main() {
8    short scalar = offset.y;
9    sk_FragColor = sample(tex, texcoord + float2(offset * scalar));
10}
11