Quote:Original post by Namethatnobodyelsetook
Is the technique you're attempting to use valid on your graphics card?
The technique are: "perPixel", "perVertex" e "vertexOnly":
technique perPixel{ pass single { stateblock = <commonState>; VertexShader = compile vs_1_1 PerPixelVS(world,view,proj); PixelShader = compile ps_2_0 PerPixelPS(positionProbeLeftHand); }}technique perVertex{ pass single { stateblock = <commonState>; VertexShader = compile vs_1_1 PerVertexVS(world,view,proj, positionProbeLeftHand); PixelShader = compile ps_1_1 PerVertexPS(); }}technique vertexOnly{ pass single { stateblock = <commonState>; VertexShader = compile vs_1_1 PerVertexVS(world,view,proj, positionProbeLeftHand); PixelShader = null; }}
as the same that I use in the code. And I've only one "pass" ("pass single") fr each technique.