1
Vote

Error: Both a valid vertex shader and pixel shader (or valid effect) must be set...

description

Hi there.

comments

Sygnus wrote Jul 20, 2008 at 1:04 PM

The browser sent the post before I finished... I am trying to run the dwarf sample and the model animator gives me this error before showing anything on the screen.

Both a valid vertex shader and pixel shader (or valid effect) must be set on the device before any draw operations may be performed.

I checked the compatibility of my GPU (GeForce 6600) and it is ok.

So I have two questions:

1) Is there something I can do to keep this from happening?
2) What does the pallet effect do in the animation process? Cause replaced it with a basicEffect and the model did load, but did not move...

wrote Feb 14, 2013 at 7:40 PM