Hi,

i´m wondering the second shader with two passes isn´t working.
i think the bug is in "pass1"
sorry but i´m a shader noob :-) can sombody help?

Quote:

material wireframe
{
effect="
texture entSkin1;
DWORD wfcolor = 0xFFFFFFFF; // Change this to the wireframe color of your choice
technique wireframe
{
pass p0
{
TextureFactor = <wfcolor>;
// CullMode = None; // Uncomment if you want backface too.
FillMode = Wireframe;
ColorOp[0] = SelectArg1;
ColorArg1[0] = TFactor;
}
pass p1
{
FillMode = Solid;
ColorOp[0] = SelectArg1;
ColorArg1[0] = texture;
}
}
";
}




[EDIT]

how is it possible to chage the thickness of the wireframe lines?
[EDIT]

regards

Last edited by fernlicht; 12/13/04 03:31.