summaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/CAPI/Shaders/SimpleQuad_vs.vsh
blob: 46253717361f6a3d0e075b34e5ac0947c743b170 (plain)
1
2
3
4
5
6
7
8
float2 PositionOffset = float2(0, 0);
float2 Scale = float2(1, 1);

void main(	in  float3 Position		: POSITION,
out float4 oPosition	: SV_Position)
{
	oPosition = float4(Position.xy * Scale + PositionOffset, 0.5, 1.0);
}