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

16 lines
324 B
GLSL

#include "common.h"
struct v2p
{
float4 hpos: POSITION; // Clip-space position (for rasterization)
};
//////////////////////////////////////////////////////////////////////////////////////////
// Vertex
v2p main ( float4 P: POSITION )
{
v2p O;
O.hpos = mul (m_WVP, P );
return O;
}
FXVS;