64 lines
739 B
Text
64 lines
739 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, Zero, SrcColor;
|
|
}
|
|
|
|
separateAlphaBlendFunc
|
|
{
|
|
default:
|
|
Disable, One, Zero;
|
|
}
|
|
|
|
cullFace
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
depthTest
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
depthWrite
|
|
{
|
|
default:
|
|
Disable;
|
|
}
|
|
|
|
colorWrite
|
|
{
|
|
mtlBlendOp == Disable:
|
|
Enable, Enable;
|
|
default:
|
|
Enable, Disable;
|
|
}
|
|
|
|
polygonOffset
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
stencil
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
wireframe
|
|
{
|
|
default:
|
|
Disable;
|
|
}
|