1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-07 23:29:06 +00:00

Turns down the composite signal amplitude a little, to help colour distinctness.

This commit is contained in:
Thomas Harte 2018-08-01 18:52:42 -04:00
parent 98bb5bd9f1
commit 74a2f717b3

View File

@ -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.