diff options
author | Brad Davis <[email protected]> | 2014-05-23 01:49:32 -0700 |
---|---|---|
committer | Brad Davis <[email protected]> | 2014-05-23 01:49:32 -0700 |
commit | 46acc0e194ff3c1f120199eeca8324b4502118e9 (patch) | |
tree | b1030198d3ee4698445d1fc5161cebe4158e45d1 /LibOVR/Src/CAPI/Shaders/Distortion_ps.psh | |
parent | 07d0f4d0bbf3477ac6a9584f726e8ec6ab285707 (diff) |
Updating to 0.3.2 (windows version)
Diffstat (limited to 'LibOVR/Src/CAPI/Shaders/Distortion_ps.psh')
-rw-r--r-- | LibOVR/Src/CAPI/Shaders/Distortion_ps.psh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibOVR/Src/CAPI/Shaders/Distortion_ps.psh b/LibOVR/Src/CAPI/Shaders/Distortion_ps.psh index 4a33de5..36a7dc7 100644 --- a/LibOVR/Src/CAPI/Shaders/Distortion_ps.psh +++ b/LibOVR/Src/CAPI/Shaders/Distortion_ps.psh @@ -4,6 +4,6 @@ SamplerState Linear : register(s0); float4 main(in float4 oPosition : SV_Position, in float4 oColor : COLOR, in float3 oTexCoord0 : TEXCOORD0) : SV_Target { - float3 Result = Texture.Sample(Linear, oTexCoord0.xy).rgb; + float3 Result = Texture.SampleLevel(Linear, oTexCoord0.xy, 0.0).rgb; return float4(Result.r * oColor.r, Result.g * oColor.g, Result.b * oColor.b, 1.0); } |