yes, it shouldn't just silently do that. at first i thought, wow, that compiler is good at optimizing. laugh

http://www.opserver.de/wiki/index.php/Hatching_Shader

i will just reuse that assembler pixelshader.

but i would like to convert the vertex shader to hlsl. can anyone decipher what that vertex shader does with the weights? i think it was me who originally converted it to gamestudio and put it on the wiki but i can't figure it out anymore. i hate assembler. it's not that hard to write it but very hard to read it. laugh