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,28 @@
#include "common.h"
struct v2p
{
float4 hpos: POSITION; // Clip-space position (for rasterization)
float4 tc: TEXCOORD0;
#ifdef USE_SJITTER
float4 tcJ: TEXCOORD1;
#endif
};
//////////////////////////////////////////////////////////////////////////////////////////
//uniform float4x4 m_texgen;
uniform float4x4 m_texgen_J;
//////////////////////////////////////////////////////////////////////////////////////////
// Vertex
v2p main ( float4 P: POSITION )
{
v2p O;
O.hpos = mul (m_WVP, P );
O.tc = mul (m_texgen, P );
#ifdef USE_SJITTER
O.tcJ = mul (m_texgen_J, P );
#endif
return O;
}
FXVS;