blob: d5961a5ccf0f081cf93e458df96addab3b472cbf (
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);
}
|