mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Increases blur again just a little more, after consideration of interlaced output.
This commit is contained in:
parent
0c65385c82
commit
41dcf1de42
@ -37,7 +37,7 @@ OpenGLOutputBuilder::OpenGLOutputBuilder(std::size_t bytes_per_pixel) :
|
|||||||
texture_builder(bytes_per_pixel, source_data_texture_unit),
|
texture_builder(bytes_per_pixel, source_data_texture_unit),
|
||||||
array_builder(SourceVertexBufferDataSize, OutputVertexBufferDataSize) {
|
array_builder(SourceVertexBufferDataSize, OutputVertexBufferDataSize) {
|
||||||
glBlendFunc(GL_SRC_ALPHA, GL_CONSTANT_COLOR);
|
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
|
// create the output vertex array
|
||||||
glGenVertexArrays(1, &output_vertex_array_);
|
glGenVertexArrays(1, &output_vertex_array_);
|
||||||
|
@ -83,7 +83,7 @@ std::unique_ptr<OutputShader> OutputShader::make_shader(const char *fragment_met
|
|||||||
|
|
||||||
"void main(void)"
|
"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<OutputShader>(new OutputShader(vertex_shader.str(), fragment_shader.str(), {
|
return std::unique_ptr<OutputShader>(new OutputShader(vertex_shader.str(), fragment_shader.str(), {
|
||||||
|
Loading…
Reference in New Issue
Block a user