mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
Add templates for filter_symmetric
This commit is contained in:
parent
6eba8a8062
commit
5b28b56f39
23
raw/iw4/techniques/filter_symmetric.tech.template
Normal file
23
raw/iw4/techniques/filter_symmetric.tech.template
Normal file
@ -0,0 +1,23 @@
|
||||
#options INDEX_SUFFIX (_1, _2, _3, _4, _5, _6, _7, _8)
|
||||
|
||||
#set FILE_NAME "filter_symmetric" + INDEX_SUFFIX
|
||||
#set SHADER_NAME FILE_NAME + ".hlsl"
|
||||
|
||||
#filename FILE_NAME + ".tech"
|
||||
|
||||
{
|
||||
stateMap "default2d";
|
||||
|
||||
vertexShader 3.0 "SHADER_NAME"
|
||||
{
|
||||
worldViewProjectionMatrix = constant.transposeWorldViewProjectionMatrix;
|
||||
}
|
||||
|
||||
pixelShader 3.0 "SHADER_NAME"
|
||||
{
|
||||
colorMapSampler = sampler.feedback;
|
||||
}
|
||||
|
||||
vertex.position = code.position;
|
||||
vertex.texcoord[0] = code.texcoord[0];
|
||||
}
|
8
raw/iw4/techsets/filter_symmetric.techset.template
Normal file
8
raw/iw4/techsets/filter_symmetric.techset.template
Normal file
@ -0,0 +1,8 @@
|
||||
#options INDEX_SUFFIX (_1, _2, _3, _4, _5, _6, _7, _8)
|
||||
|
||||
#set FILE_NAME "filter_symmetric" + INDEX_SUFFIX
|
||||
|
||||
#filename FILE_NAME + ".techset"
|
||||
|
||||
"unlit":
|
||||
FILE_NAME;
|
Loading…
x
Reference in New Issue
Block a user