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

69 lines
782 B
Text

alphaTest
{
default:
Always;
}
blendFunc
{
default:
passthrough;
}
separateAlphaBlendFunc
{
mtlBlendOp == Disable:
Disable, One, Zero;
mtlBlendOp == Add && mtlSrcBlend == One && mtlDestBlend == One:
Add, Zero, One;
mtlBlendOp == Add && mtlSrcBlend == InvDestColor && mtlDestBlend == One:
Add, Zero, One;
default:
Add, InvDestAlpha, One;
}
cullFace
{
default:
passthrough;
}
depthTest
{
default:
passthrough;
}
depthWrite
{
mtlBlendOp == Disable:
Enable;
default:
Disable;
}
colorWrite
{
mtlPolygonOffset == 0:
Enable, Enable;
default:
Enable, Enable;
}
polygonOffset
{
default:
passthrough;
}
stencil
{
default:
passthrough;
}
wireframe
{
default:
Disable;
}