float x = (p.x + 1.) / 2.; float y = (-p.y + 1.) / 2.; vec4 c = texture2D(uSampler, vec2(x, y)); gl_FragColor = c.rgba;