add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
22
gamedata/shaders/r1/model_def_shadow.vs
Normal file
22
gamedata/shaders/r1/model_def_shadow.vs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#include "common.h"
|
||||
#include "skin.h"
|
||||
|
||||
struct vf
|
||||
{
|
||||
float4 hpos : POSITION;
|
||||
float4 c0 : COLOR0; // color
|
||||
};
|
||||
|
||||
vf _main (v_model v)
|
||||
{
|
||||
vf o;
|
||||
|
||||
o.hpos = mul (m_WVP, v.pos); // xform, input in world coords
|
||||
o.c0 = 0;
|
||||
return o;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
#define SKIN_LQ
|
||||
#define SKIN_VF vf
|
||||
#include "skin_main.h"
|
||||
Loading…
Add table
Add a link
Reference in a new issue