Hi all, I have been trying to get a HLSL shader working in bmax, its the simple setup, render a fullscreen quad then use a pixelshader, the code is based off an dx9 example from rbz for c++ and iq's frameworks. I can get it to use the simple ps_2_0 shader that iq has in that framework fine, but any attempt I make at doing a ps_3_0 shader results in nothing being rendered but the background cls colour. Having not really done much HLSL stuff I am not sure if its something I am doing wrong or not.
This is the ps_2_0 shader code that works with ps_2_0 as the target.
float4 ps_main(float2 u:TEXCOORD):color
{
return float4(u.x,u.y,0.4,1);
}If i change the shader target to ps_3_0 should this still compile and display?
I am not getting a compile error and the exe runs, I just dont get anything on screen. I have tried a few different shaders that are ment to be ps_3_0 ones but all give me the same blank screen so I am thinking there's something else i need to do for ps_3_0, probably in how the quad is rendered or some dx transform setting I am missing? but I havent found a simple example that uses this level shader.
Hopefully someone on here can point me in the right direction

Cheers
Jon