add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
28
gamedata/shaders/r2/accum_volume.vs
Normal file
28
gamedata/shaders/r2/accum_volume.vs
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue