add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
18
gamedata/shaders/r2/editor.vs
Normal file
18
gamedata/shaders/r2/editor.vs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include "common.h"
|
||||
|
||||
struct vf
|
||||
{
|
||||
float4 P: POSITION ;
|
||||
float4 C: COLOR0 ;
|
||||
};
|
||||
|
||||
uniform float4 tfactor;
|
||||
vf main (vf i)
|
||||
{
|
||||
vf o;
|
||||
|
||||
o.P = mul (m_WVP, i.P); // xform, input in world coords
|
||||
o.C = tfactor*i.C;
|
||||
|
||||
return o;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue