eclipse150gt

everytime i hit f5 to build and debug my program it always gives me this error........"Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater." does anyone know how i can take care of that problem. I downloaded the DirectX SDK and all the other stuff but its still giving me that

Re: XNA Game Studio Express shader 1.1 or higher?

CompuDav

What graphics card do you have If you have an old card (like a GeForce 3), it probably doesn't have shader support. Unfortunately, if that is the case, then the only way to solve the problem is to buy a new card.

Although, you may be able to run your game in software rendering mode. Someone else would probably be more qualified than myself to assist you with that.





Re: XNA Game Studio Express shader 1.1 or higher?

eclipse150gt

its a Nvidia GeForce4 Go



Re: XNA Game Studio Express shader 1.1 or higher?

CompuDav

Well, to quote Wikipedia:

"It should be noted that older versions of the drivers for the GeForce4 Go supported vertex shader model 1.1 via hardware assisted software emulation, however at some point this support was dropped completely. The newer drivers report that they support vertex shader model 0.0. On certain games which are able to take advantage of vertex shading, using the older drivers can actually result in a significant performance increase. Some games that require pixel and vertex shading will not run at all on these newer drivers." (http://en.wikipedia.org/wiki/GeForce_4)

You probably have a later version of the drivers which report that they support shader model 0.0. Thus, XNA complains that it doesn't support a high enough shader model. Unfortunately, because I assume you have a laptop, I guess your only bet would be to obtain older drivers. Try searching the internet for them, or going to one of the sites listed in that Wikipedia article.

Hope that helps somewhat!





Re: XNA Game Studio Express shader 1.1 or higher?

eclipse150gt

thx



Re: XNA Game Studio Express shader 1.1 or higher?

Jon Watte

I believe that's similar to a GeForce 4 MX, which is similar to a GeForce 2, which doesn't have shader support. You probably need to upgrade.





Re: XNA Game Studio Express shader 1.1 or higher?

riemerg

Of course, you can run your app entirely on the CPU, which will make it run incredibly slow. This is done by using the reference device. You can see how to do this in the help file or in the first chapter of my 3rd series. Look at the 2 last lines of the Game1() method and the SetToReference method.

In the Game1() method, you will want to check for PS_1_1 compatibility; instead of PS_2_0.