void main(void) { vec4 orig = getPix(); if(orig.r < 0.5) { orig = texture2D(texture0, vec2(0.1, 0.5)); } pix(orig); }