cod5-sdk/raw/statemaps/nocolor.sm

65 lines
731 B
Text
Raw Permalink Normal View History

2008-11-20 00:00:00 +00:00
alphaTest
{
mtlAlphaTest == Always && mtlBlendOp == Add && mtlSrcBlend == SrcAlpha && mtlDestBlend == InvSrcAlpha:
mtlAlphaTest == Always && mtlBlendOp == Add && mtlSrcBlend == SrcAlpha && mtlDestBlend == One:
GT0;
default:
passthrough;
}
blendFunc
{
default:
Disable, One, Zero;
}
separateAlphaBlendFunc
{
default:
Disable, One, Zero;
}
cullFace
{
default:
passthrough;
}
depthTest
{
default:
passthrough;
}
depthWrite
{
mtlBlendOp == Disable:
Enable;
default:
Disable;
}
colorWrite
{
default:
Disable, Disable;
}
polygonOffset
{
default:
passthrough;
}
stencil
{
default:
passthrough;
}
wireframe
{
default:
Disable;
}