<commit_before>#version 120

uniform sampler2D u_picture;
uniform sampler2D u_pattern;
uniform vec2 u_texscale;
uniform vec4 u_color;
uniform vec4 u_blendscale;
varying vec2 v_texcoord;

void main() {
    vec4 picture = texture2D(
        u_picture, v_texcoord * u_texscale);
    vec4 pattern = texture2D(u_pattern, v_texcoord * 0.125);

    vec2 delta = (v_texcoord - u_blendscale.xy) * u_blendscale.zw;
    float d = dot(delta, delta);
    d = d * d;

    gl_FragColor =
        (picture * (1.0 - u_color.a * d) + u_color * d) * pattern;
}<commit_msg>Tweak TV shader<commit_after>#version 120

uniform sampler2D u_picture;
uniform sampler2D u_pattern;
uniform vec2 u_texscale;
uniform vec4 u_color;
uniform vec4 u_blendscale;
varying vec2 v_texcoord;

void main() {
    vec4 picture = texture2D(
        u_picture, v_texcoord * u_texscale);
    vec4 pattern = texture2D(u_pattern, v_texcoord * 0.125);
    pattern *= texture2D(u_pattern, v_texcoord * 0.0625);

    vec2 delta = (v_texcoord - u_blendscale.xy) * u_blendscale.zw;
    float d = dot(delta, delta);
    d = d * d;

    gl_FragColor =
        (picture * (1.0 - u_color.a * d) + u_color * d) * pattern;
}
{'fraction_non_alphanumeric': 0.10463121783876501, 'fraction_numerical': 0.03945111492281304, 'mean_word_length': 3.5232558139534884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7625221', 'n_tokens_mistral': 468, 'n_tokens_neox': 444, 'n_words': 112}