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

15 lines
No EOL
340 B
GLSL

#include "common_iostructs.h"
//////////////////////////////////////////////////////////////////////////////////////////
// Vertex
v2p_TL main ( v_TL I )
{
v2p_TL O;
O.HPos = I.P;
O.Tex0 = I.Tex0;
// Some shaders that use this stub don't need Color at all
O.Color = I.Color.bgra; // swizzle vertex colour
return O;
}