From 74a2f717b3458036b8aea59dd9d78571007e409e Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 1 Aug 2018 18:52:42 -0400 Subject: [PATCH] Turns down the composite signal amplitude a little, to help colour distinctness. --- Machines/AppleII/Video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/AppleII/Video.cpp b/Machines/AppleII/Video.cpp index 65c44ee20..80fdb9361 100644 --- a/Machines/AppleII/Video.cpp +++ b/Machines/AppleII/Video.cpp @@ -18,7 +18,7 @@ VideoBase::VideoBase() : crt_->set_composite_sampling_function( "float composite_sample(usampler2D sampler, vec2 coordinate, vec2 icoordinate, float phase, float amplitude)" "{" - "return texture(sampler, coordinate).r;" + "return clamp(texture(sampler, coordinate).r, 0.0, 0.7);" "}"); // Show only the centre 75% of the TV frame.