From c2b5a9bb1f3448522f032a2d8b8d789a833385bd Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 13 May 2017 21:50:48 -0400 Subject: [PATCH] Minor fix: given that phase is now a function of position, stop nudging position. --- Outputs/CRT/Internals/Shaders/IntermediateShader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Outputs/CRT/Internals/Shaders/IntermediateShader.cpp b/Outputs/CRT/Internals/Shaders/IntermediateShader.cpp index 9c81a3421..670effaeb 100644 --- a/Outputs/CRT/Internals/Shaders/IntermediateShader.cpp +++ b/Outputs/CRT/Internals/Shaders/IntermediateShader.cpp @@ -99,7 +99,7 @@ std::unique_ptr IntermediateShader::make_shader(const std::s "phaseAndAmplitudeVarying.y = 0.33;" // TODO: reinstate connection with (phaseTimeAndAmplitude.y/256.0) // determine output position by scaling the output position according to the texture size - "vec2 eyePosition = 2.0*(extendedOutputPosition / outputTextureSize) - vec2(1.0) + vec2(1.0)/outputTextureSize;" + "vec2 eyePosition = 2.0*(extendedOutputPosition / outputTextureSize) - vec2(1.0);" "gl_Position = vec4(eyePosition, 0.0, 1.0);" "}", sampler_type, input_variable);