diff options
author | Brad Davis <[email protected]> | 2014-07-24 16:47:31 -0700 |
---|---|---|
committer | Brad Davis <[email protected]> | 2014-07-24 16:47:31 -0700 |
commit | 0f49ce8fc6aa54224e4c0d6fda8c4527ad39cce1 (patch) | |
tree | da07ebc6a7f75185bda857dd5f1c34710b416a93 /LibOVR/Src/CAPI/Shaders/SimpleQuad_vs.vsh | |
parent | ca79271759ff7eecd22ec5c4db438370fe51d687 (diff) |
0.4 Win-Beta0.4.0
Diffstat (limited to 'LibOVR/Src/CAPI/Shaders/SimpleQuad_vs.vsh')
-rw-r--r-- | LibOVR/Src/CAPI/Shaders/SimpleQuad_vs.vsh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/LibOVR/Src/CAPI/Shaders/SimpleQuad_vs.vsh b/LibOVR/Src/CAPI/Shaders/SimpleQuad_vs.vsh index 4625371..d5961a5 100644 --- a/LibOVR/Src/CAPI/Shaders/SimpleQuad_vs.vsh +++ b/LibOVR/Src/CAPI/Shaders/SimpleQuad_vs.vsh @@ -1,8 +1,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); +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);
}
\ No newline at end of file |