e4s-game/gamedata/shaders/d3d11/stub_notransform_2uv.vs.hlsl
2026-06-18 01:18:29 +03:00

15 lines
299 B
HLSL

#include "common_iostructs.hlsli"
// Vertex
v2p_TL2uv main(v_TL2uv I)
{
v2p_TL2uv O;
O.HPos = I.P;
O.Tex0 = I.Tex0;
O.Tex1 = I.Tex1;
// Some shaders that use this stub don't need Color at all
O.Color = I.Color.bgra; // swizzle vertex colour
return O;
}