Files
zb-menus/techniques/trivial_vertcol_simple2d.tech
T

19 lines
419 B
Plaintext
Raw Normal View History

2025-01-09 11:49:06 +01:00
{
stateMap "passthrough"; // TODO
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];
}