mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-11 05:31:51 +00:00
.github
docs
raw
iw4
statemaps
additive.sm
additive_stencil.sm
build_floatz.sm
build_shadowmap.sm
build_shadowmap_color.sm
build_shadowmap_depth.sm
build_shadowmap_model.sm
clear_alpha_stencil.sm
color_only.sm
default.sm
default2d.sm
effect_add.sm
multiply_fog.sm
nocolor.sm
objective.sm
passthrough.sm
pixel_cost_add.sm
premulalpha.sm
shadowcookie_receiver.sm
wireframe.sm
zfeather_add.sm
techniques
techsets
repo
scripts
src
test
thirdparty
tools
.gitignore
.gitmodules
CHANGES.md
LICENSE
README.md
generate.bat
generate.sh
premake5.lua
75 lines
824 B
Plaintext
75 lines
824 B
Plaintext
alphaTest
|
|
{
|
|
mtlAlphaTest == Always && mtlBlendOp == Add && mtlSrcBlend == SrcAlpha && mtlDestBlend == InvSrcAlpha:
|
|
mtlAlphaTest == Always && mtlBlendOp == Add && mtlSrcBlend == SrcAlpha && mtlDestBlend == One:
|
|
GT0;
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
blendFunc
|
|
{
|
|
default:
|
|
Add, InvDestAlpha, One;
|
|
}
|
|
|
|
separateAlphaBlendFunc
|
|
{
|
|
default:
|
|
Disable, One, Zero;
|
|
}
|
|
|
|
cullFace
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
depthTest
|
|
{
|
|
mtlDepthTest == LessEqual && mtlDestBlend == Zero:
|
|
Equal;
|
|
mtlDepthTest == LessEqual:
|
|
LessEqual;
|
|
default:
|
|
Equal;
|
|
}
|
|
|
|
depthWrite
|
|
{
|
|
default:
|
|
Disable;
|
|
}
|
|
|
|
colorWrite
|
|
{
|
|
default:
|
|
Enable, Enable;
|
|
}
|
|
|
|
gammaWrite
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
polygonOffset
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
stencil
|
|
{
|
|
default:
|
|
OneSided,
|
|
Equal, Keep, Keep, Keep,
|
|
Always, Keep, Keep, Keep;
|
|
}
|
|
|
|
wireframe
|
|
{
|
|
default:
|
|
Disable;
|
|
}
|