1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-07 23:25:00 +00:00

Merge pull request #552 from TomHarte/AppleIIBrightness

Turns down the Apple II brightness a little.
This commit is contained in:
Thomas Harte
2018-09-17 20:09:06 -04:00
committed by GitHub

View File

@@ -20,7 +20,7 @@ VideoBase::VideoBase(bool is_iie, std::function<void(Cycles)> &&target) :
crt_->set_composite_sampling_function(
"float composite_sample(usampler2D sampler, vec2 coordinate, float phase, float amplitude)"
"{"
"return clamp(texture(sampler, coordinate).r, 0.0, 1.0);"
"return clamp(texture(sampler, coordinate).r, 0.0, 0.66);"
"}");
// Show only the centre 75% of the TV frame.