cod5-sdk/raw/statemaps/multiply_fog.sm
2008-11-20 00:00:00 +00:00

66 lines
768 B
Text

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