• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3layout (binding = 0) uniform sampler1D one;
4layout (binding = 1) uniform sampler2D two;
5void main() {
6    vec4 a = texture(one, 0.0, -0.5);
7    vec4 b = texture(two, vec2(0.0), -0.5);
8    vec4 c = textureProj(one, vec2(0.0), -0.5);
9    vec4 d = textureProj(two, vec3(0.0), -0.5);
10    sk_FragColor = vec4(a.x, b.x, c.x, d.x);
11}
12