add game&rawdata

This commit is contained in:
Vasily Petrov 2026-06-17 23:06:51 +03:00
parent 0133cd976c
commit 49b34b5546
45731 changed files with 709831 additions and 0 deletions

View file

@ -0,0 +1,35 @@
#include "common.hlsli"
struct vi
{
float4 p : POSITION;
float4 c : COLOR0;
float3 tc0 : TEXCOORD0;
float3 tc1 : TEXCOORD1;
};
struct v2p
{
float4 factor : COLOR0;
float3 p : TEXCOORD1;
float4 hpos_curr : TEXCOORD2;
float4 hpos_old : TEXCOORD3;
float4 hpos : SV_POSITION;
};
void main(in vi v, out v2p o)
{
o.hpos = mul(m_WVP, v.p);
o.factor = v.c;
o.p = v.p.xyz;
o.hpos_curr = o.hpos;
o.hpos_old = mul(m_WVP_old, v.p);
o.hpos.xy += m_taa_jitter.xy * o.hpos.w;
}