I'm trying to learn basic shader languages, because i'm totally a newbie at this, but when i try to put a vertex shader in my code, i always get the error:
"error w1550 at effect line( line where it's written "pixelshader=asm" ). pixelshader expected".
But in my code there IS a pixel shader! And i can't get this to work also if i copy/paste pixel shader code or both vertex and pixel shaders from other working shaders! Anyone knows why this happens?