You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
282 B

#version 110
uniform sampler1D one;
uniform sampler2D two;
void main() {
vec4 a = texture1D(one, 0.0);
vec4 b = texture2D(two, vec2(0.0));
vec4 c = texture1DProj(one, vec2(0.0));
vec4 d = texture2DProj(two, vec3(0.0));
gl_FragColor = vec4(a.x, b.x, c.x, d.x);
}