add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
23
gamedata/shaders/editor/model_def_hq.vs.hlsl
Normal file
23
gamedata/shaders/editor/model_def_hq.vs.hlsl
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#include "common.hlsli"
|
||||
#include "skin.hlsli"
|
||||
|
||||
// #define SKIN_2
|
||||
|
||||
struct vf
|
||||
{
|
||||
float4 hpos : POSITION;
|
||||
float2 tc0 : TEXCOORD0; // base
|
||||
float fog : FOG;
|
||||
};
|
||||
|
||||
vf _main(v_model v)
|
||||
{
|
||||
vf o;
|
||||
o.hpos = mul(m_WVP, v.pos); // xform, input in world coords
|
||||
o.tc0 = v.tc.xy; // copy tc
|
||||
o.fog = calc_fogging(v.pos);
|
||||
return o;
|
||||
}
|
||||
|
||||
#define SKIN_VF vf
|
||||
#include "skin_main.hlsli"
|
||||
Loading…
Add table
Add a link
Reference in a new issue