summaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/CAPI/Shaders/DistortionChroma_ps.psh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-21 21:19:34 +0100
committerSven Gothel <[email protected]>2015-03-21 21:19:34 +0100
commite490c3c7f7bb5461cfa78a214827aa534fb43a3e (patch)
treeb86b0291ef529ec6b75cc548d73599fa9c283cd6 /LibOVR/Src/CAPI/Shaders/DistortionChroma_ps.psh
parent05bb4364bfd9930fb1902efec86446ef035ee07a (diff)
Bump OculusVR RIFT SDK to 0.4.4
Diffstat (limited to 'LibOVR/Src/CAPI/Shaders/DistortionChroma_ps.psh')
-rw-r--r--LibOVR/Src/CAPI/Shaders/DistortionChroma_ps.psh12
1 files changed, 0 insertions, 12 deletions
diff --git a/LibOVR/Src/CAPI/Shaders/DistortionChroma_ps.psh b/LibOVR/Src/CAPI/Shaders/DistortionChroma_ps.psh
deleted file mode 100644
index 768d491..0000000
--- a/LibOVR/Src/CAPI/Shaders/DistortionChroma_ps.psh
+++ /dev/null
@@ -1,12 +0,0 @@
-Texture2D Texture : register(t0);
-SamplerState Linear : register(s0);
-
-float4 main(in float4 oPosition : SV_Position, in float4 oColor : COLOR,
- in float3 oTexCoord0 : TEXCOORD0, in float3 oTexCoord1 : TEXCOORD1, in float3 oTexCoord2 : TEXCOORD2) : SV_Target
-{
- float ResultR = Texture.SampleLevel(Linear, oTexCoord0.xy, 0.0).r;
- float ResultG = Texture.SampleLevel(Linear, oTexCoord1.xy, 0.0).g;
- float ResultB = Texture.SampleLevel(Linear, oTexCoord2.xy, 0.0).b;
- return float4(ResultR * oColor.r, ResultG * oColor.g, ResultB * oColor.b, 1.0);
- //" return oColor.rrrr;
-}