split a image over 2 images

i have a plane which i am rendering onto.
but i want to split the image onto 2 planes each with half of it on , so i have a left and right

now i tryed in the pixel shader

if ( uv.x > 0.5) alpha = 0; // for the left side
if ( uv.x < 0.5) alpha = 0; // for the right side

but there has to be a better way to do it

2210963--147038--66676main_image_feature_221_jw4.jpg
2210963--147039--left.jpg
2210963--147040--right.jpg

Hi, you code doesn’t make much sense to me, as what would alpha be if uv.x == .5? Why alpha anyway?

You could just draw one quad with uv.x as 0.0- to .5 and another quad with uv.x .5 to 1.0.
But you don’t need a shader for that, so maybe I don’t understand what you want to achieve.