mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Add statemap raw files for iw4
This commit is contained in:
68
raw/iw4/statemaps/default.sm
Normal file
68
raw/iw4/statemaps/default.sm
Normal file
@ -0,0 +1,68 @@
|
||||
alphaTest
|
||||
{
|
||||
mtlAlphaTest == Always && mtlBlendOp == Add && mtlSrcBlend == SrcAlpha && mtlDestBlend == InvSrcAlpha:
|
||||
mtlAlphaTest == Always && mtlBlendOp == Add && mtlSrcBlend == SrcAlpha && mtlDestBlend == One:
|
||||
GT0;
|
||||
default:
|
||||
passthrough;
|
||||
}
|
||||
|
||||
blendFunc
|
||||
{
|
||||
default:
|
||||
passthrough;
|
||||
}
|
||||
|
||||
separateAlphaBlendFunc
|
||||
{
|
||||
mtlBlendOp == Disable:
|
||||
Disable, One, Zero;
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user