diff options
Diffstat (limited to 'LibOVR/Src/CAPI/Shaders/Distortion_vs.vsh')
-rw-r--r-- | LibOVR/Src/CAPI/Shaders/Distortion_vs.vsh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/LibOVR/Src/CAPI/Shaders/Distortion_vs.vsh b/LibOVR/Src/CAPI/Shaders/Distortion_vs.vsh deleted file mode 100644 index 90a4aaa..0000000 --- a/LibOVR/Src/CAPI/Shaders/Distortion_vs.vsh +++ /dev/null @@ -1,18 +0,0 @@ -float2 EyeToSourceUVScale;
-float2 EyeToSourceUVOffset;
-
-void main(in float2 Position : POSITION,
- in float4 Color : COLOR0,
- in float2 TexCoord0 : TEXCOORD0,
- out float4 oPosition : SV_Position,
- out float1 oColor : COLOR,
- out float2 oTexCoord0 : TEXCOORD0)
-{
- oPosition.x = Position.x;
- oPosition.y = Position.y;
- oPosition.z = 0.5;
- oPosition.w = 1.0;
- oTexCoord0 = EyeToSourceUVScale * TexCoord0 + EyeToSourceUVOffset;
- oColor = Color.r; // Used for vignette fade.
-}
-
|