mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-10 21:21:50 +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
.clang-format
.gitignore
.gitmodules
CHANGES.md
LICENSE
README.md
generate.bat
generate.sh
premake5.lua
71 lines
708 B
Plaintext
71 lines
708 B
Plaintext
alphaTest
|
|
{
|
|
mtlAlphaTest == Always && mtlBlendOp == Add && mtlSrcBlend == SrcAlpha && mtlDestBlend == InvSrcAlpha:
|
|
mtlAlphaTest == Always && mtlBlendOp == Add && mtlSrcBlend == SrcAlpha && mtlDestBlend == One:
|
|
GT0;
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
blendFunc
|
|
{
|
|
default:
|
|
Disable, One, Zero;
|
|
}
|
|
|
|
separateAlphaBlendFunc
|
|
{
|
|
default:
|
|
Disable, One, Zero;
|
|
}
|
|
|
|
cullFace
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
depthTest
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
depthWrite
|
|
{
|
|
mtlBlendOp == Disable:
|
|
Enable;
|
|
default:
|
|
Disable;
|
|
}
|
|
|
|
colorWrite
|
|
{
|
|
default:
|
|
Disable, Disable;
|
|
}
|
|
|
|
gammaWrite
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
polygonOffset
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
stencil
|
|
{
|
|
default:
|
|
passthrough;
|
|
}
|
|
|
|
wireframe
|
|
{
|
|
default:
|
|
Disable;
|
|
}
|