Hi, thanks for the reply.
I tried the code but it did not seem to work unfortunately. I use in like that because i have a X and Y offset for each image used. The code you have seems to use colors but this was image and 4 of them.
Other than all the control inputs and the pixel width and height (and also changing the input names from part to image now also) the main code was -
It works fine in terms of using them all but it adds the colors, the solution you post might work but that seems to be different for 2 inputs and also color based.
float4 ps_main(in float2 In1 : TEXCOORD0,
in float2 In2 : TEXCOORD0,
in float2 In3 : TEXCOORD0,
in float2 In4 : TEXCOORD0) : COLOR0
In1.x += fPixelWidth+OffsetX1;
In1.y += fPixelHeight+OffsetY1;
In2.x += fPixelWidth+OffsetX2;
In2.y += fPixelHeight+OffsetY2;
In3.x += fPixelWidth+OffsetX3;
In3.y += fPixelHeight+OffsetY3;
In4.x += fPixelWidth+OffsetX4;
In4.y += fPixelHeight+OffsetY4;
tex2D(Image01,float2(In1.x,In1.y)) * Mix01 +
tex2D(Image02,float2(In2.x,In2.y)) * Mix02 +
tex2D(Image03,float2(In3.x,In3.y)) * Mix03 +
tex2D(Image04,float2(In4.x,In4.y)) * Mix04;
I have only just started to code HWA effects recently though so probably making lots of mistakes in my coding but it's working just not fully how i want yet.