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

22 lines
No EOL
390 B
GLSL

#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"