From 41dcf1de4225c530b46498e746ffb7cf95840d08 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 14 Jun 2018 18:25:04 -0400 Subject: [PATCH] Increases blur again just a little more, after consideration of interlaced output. --- Outputs/CRT/Internals/CRTOpenGL.cpp | 2 +- Outputs/CRT/Internals/Shaders/OutputShader.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Outputs/CRT/Internals/CRTOpenGL.cpp b/Outputs/CRT/Internals/CRTOpenGL.cpp index 9b5b27abd..cfe48fc67 100644 --- a/Outputs/CRT/Internals/CRTOpenGL.cpp +++ b/Outputs/CRT/Internals/CRTOpenGL.cpp @@ -37,7 +37,7 @@ OpenGLOutputBuilder::OpenGLOutputBuilder(std::size_t bytes_per_pixel) : texture_builder(bytes_per_pixel, source_data_texture_unit), array_builder(SourceVertexBufferDataSize, OutputVertexBufferDataSize) { glBlendFunc(GL_SRC_ALPHA, GL_CONSTANT_COLOR); - glBlendColor(0.3f, 0.3f, 0.3f, 1.0f); + glBlendColor(0.4f, 0.4f, 0.4f, 1.0f); // create the output vertex array glGenVertexArrays(1, &output_vertex_array_); diff --git a/Outputs/CRT/Internals/Shaders/OutputShader.cpp b/Outputs/CRT/Internals/Shaders/OutputShader.cpp index 899d8f504..0ab9c2ff3 100644 --- a/Outputs/CRT/Internals/Shaders/OutputShader.cpp +++ b/Outputs/CRT/Internals/Shaders/OutputShader.cpp @@ -83,7 +83,7 @@ std::unique_ptr OutputShader::make_shader(const char *fragment_met "void main(void)" "{" - "fragColour = vec4(pow(" << colour_expression << ", vec3(gamma)), 0.9);"//*cos(lateralVarying) + "fragColour = vec4(pow(" << colour_expression << ", vec3(gamma)), 0.8);"//*cos(lateralVarying) "}"; return std::unique_ptr(new OutputShader(vertex_shader.str(), fragment_shader.str(), {