This commit is contained in:
Vasily Petrov 2026-06-18 01:18:29 +03:00
commit 2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions

View file

@ -0,0 +1,20 @@
#include "common.hlsli"
uniform float4 screen_res;
v2p_TL main(v_TL_positiont I)
{
v2p_TL O;
{
// I.P.xy += 0.5f;
O.HPos.x = I.P.x * screen_res.z * 2 - 1;
O.HPos.y = (I.P.y * screen_res.w * 2 - 1) * -1;
O.HPos.zw = I.P.zw;
}
O.Tex0 = I.Tex0;
O.Color = I.Color.bgra; // swizzle vertex colour
return O;
}