mirror of
https://github.com/Gigaslav/HL2Overcharged.git
synced 2026-01-05 06:10:21 +03:00
26 lines
389 B
Plaintext
26 lines
389 B
Plaintext
#include "common_vs_fxc.h"
|
|
|
|
struct VS_INPUT
|
|
{
|
|
float4 vPos : POSITION;
|
|
float2 vTexCoord : TEXCOORD0;
|
|
};
|
|
|
|
struct VS_OUTPUT
|
|
{
|
|
float4 vProjPos : POSITION;
|
|
float2 vTexCoord : TEXCOORD0;
|
|
};
|
|
|
|
|
|
VS_OUTPUT main( const VS_INPUT v )
|
|
{
|
|
VS_OUTPUT o = ( VS_OUTPUT )0;
|
|
|
|
float4 coord = float4( v.vPos.x, v.vPos.y, v.vPos.z, 1.0f );
|
|
|
|
o.vProjPos = coord;
|
|
o.vTexCoord = v.vTexCoord;
|
|
|
|
return o;
|
|
} |