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

22 lines
363 B
HLSL

#include "common.hlsli"
struct _in
{
float4 p : POSITION;
float2 tcJ : TEXCOORD0;
};
struct _out
{
float4 hpos : POSITION;
float4 tc0 : TEXCOORD0;
float2 tcJ : TEXCOORD1;
};
void main(in _in I, out _out O)
{
O.hpos = float4(I.p.x, -I.p.y, 0.0f, 1.0f);
O.tc0 = float4(I.p.zw, 1.0f, 1.0f);
O.tcJ = I.tcJ;
}