2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-25 13:51:58 +00:00

Add techset templates for 2d and distortion_scale

This commit is contained in:
Jan
2022-09-06 21:46:33 +02:00
parent a7ceaf03ee
commit 3930688709
3 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{
stateMap "default2d";
vertexShader 3.0 "trivial_vertcol_simple.hlsl"
{
worldMatrix = constant.transposeWorldMatrix;
viewProjectionMatrix = constant.transposeViewProjectionMatrix;
}
pixelShader 3.0 "trivial_vertcol_simple.hlsl"
{
colorMapSampler = material.colorMap;
}
vertex.position = code.position;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
}