1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Update S-Video intermediate form.

This commit is contained in:
Thomas Harte
2026-01-28 14:26:33 -05:00
parent 128a6e6089
commit a4caf78c6e
+8 -6
View File
@@ -170,11 +170,13 @@ lowp vec2 quadrature() {
lowp vec4 sample_svideo() {
lowp vec2 source = texture(source, coordinate).rg;
int offset = int(floor(coordinate * 4.0));
float chroma = cos(phase + source.g);
lowp vec2 q = quadrature();
return vec4(
source[offset],
quadrature(),
compositeAmplitude
source.r,
chroma * q,
1.0
);
}
@@ -293,8 +295,8 @@ lowp vec2 quadrature() {
return vec4(
colour.r,
chroma,
q
chroma * q,
1.0
);
}