add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
21
gamedata/shaders/r2/shadow_direct_base.vs
Normal file
21
gamedata/shaders/r2/shadow_direct_base.vs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#include "common.h"
|
||||
|
||||
struct a2v
|
||||
{
|
||||
float4 P: POSITION; // Object-space position
|
||||
float4 tc0: TEXCOORD0; // Texture coordinates
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Vertex
|
||||
v_shadow_direct main ( a2v I )
|
||||
{
|
||||
v_shadow_direct O;
|
||||
|
||||
O.hpos = mul (m_WVP, I.P );
|
||||
#ifndef USE_HWSMAP
|
||||
O.depth = O.hpos.z;
|
||||
#endif
|
||||
return O;
|
||||
}
|
||||
FXVS;
|
||||
Loading…
Add table
Add a link
Reference in a new issue