Ok I am compiling my pixel shader for 1.4 and am trying to apply multiple textures:
//Pixel Shader
PS_OUTPUT Output;
Output.RGBColor = tex2D(MeshTextureSampler, In.TextureUV);
Output.RGBColor *= tex2D(MeshTexture2Sampler, In.TextureUV);
return Output;
Now this makes my screen go black, but if I use just one texture sampler I get the texture displaying correctly (so I know the textures are going into the shader fine). Also I am compiling for PS_1_4 which I know supports upto 4 sampling instructions (and I'm only trying to do 2).
Any ideas?
Also this displays texture 2 correctly:
Output.RGBColor = tex2D(MeshTextureSampler, In.TextureUV);
Output.RGBColor = tex2D(MeshTexture2Sampler, In.TextureUV);
so I know 2 samples are working. Just not modulating, why oh why?
I even tried this:
Output.RGBColor = tex2D(MeshTextureSampler, In.TextureUV);
Output.RGBColor *= tex2D(MeshTexture2Sampler, In.TextureUV);
Output.RGBColor.a = 1.0;
in case the alpha was being messed with. no dice, still a black screen.