I’ve been working on a 3D project for quite some time now, to display model files from a engine. I wrote it in C# and using the Managed DirectX wrapper (I know it is old and deprecated, but I have my own reasons to use it). I needed to write a Pixel Shader to do texture blending and lighting, but ps 2.0 was too limited for my shader, and I needed to use ps 3.0. It works fine on with software rendering (DeviceType set to Reference), and on Hardware with ps 2.0 it works fine too, but when I use Hardware acceleration, the pixel shader just stops working. Doing some research, I discovered that my GPU (Intel GMA 950) only supports up to ps 2.0, okay that must be the issue. The problem is that, I asked some friends to test my app, and they all got the same problem (one of them even have a Geforce GTX650 that was supposed to support SM 5.0). The Pixel Shader doesnt do anything, and the model just remains at the vertex color.
Is there something special needed to make Pixel Shader work in Hardware?
I solved the problem reinstalling the SDK and changing the Microsoft.Direct3DX.dll to 1.0.2911.0 (April 2006) version, now it works fine with ps 3.0 on capable video cards. Thanks to all you guys.