add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
24
gamedata/shaders/d3d11/editor.vs.hlsl
Normal file
24
gamedata/shaders/d3d11/editor.vs.hlsl
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#include "common.hlsli"
|
||||
|
||||
struct vf
|
||||
{
|
||||
float4 C : COLOR0;
|
||||
float4 P : POSITION;
|
||||
};
|
||||
|
||||
struct v2p
|
||||
{
|
||||
float4 C : COLOR0;
|
||||
float4 P : SV_POSITION;
|
||||
};
|
||||
|
||||
uniform float4 tfactor;
|
||||
v2p main(vf i)
|
||||
{
|
||||
v2p 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