These two lines use different variable names.
uniform sampler2D txtr;
float st = texture2D(txt_in, vec2(0.5, 0.5)).r;
Also, txt_in is not declared or? it should fail to compile?
These two lines use different variable names.
uniform sampler2D txtr;
float st = texture2D(txt_in, vec2(0.5, 0.5)).r;
Also, txt_in is not declared or? it should fail to compile?