e4s-sdk/gamedata/shaders/r1/model_def_shadow.vs.hlsl
2026-06-17 23:06:51 +03:00

21 lines
335 B
HLSL

#include "common.hlsli"
#include "skin.hlsli"
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.hlsli"