<commit_before>varying vec3 v_position;
varying vec3 v_normal;

void main() {
    vec3 N = normalize(v_normal);
    float lum = N.y * 0.5;
    gl_FragColor = vec4(lum, lum, lum, 1.0);
}<commit_msg>improved rendering<commit_after>varying vec3 v_position;
varying vec3 v_normal;

void main() {
    vec3 N = normalize(v_normal);
    float lum = pow(N.y, 3.0) * 0.5;
    float fog = clamp(gl_FragCoord.z * gl_FragCoord.w, 0.0, 1.0);

    vec3 color = mix(vec3(1.0, 0.5, 0.0), vec3(lum, lum, lum), 1.0 - pow(1.0 - fog, 10.0));

    gl_FragColor = vec4(color, 1.0);
}
{'fraction_non_alphanumeric': 0.16042780748663102, 'fraction_numerical': 0.0677361853832442, 'mean_word_length': 3.356589147286822, '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': '1993741', 'n_tokens_mistral': 267, 'n_tokens_neox': 243, 'n_words': 58}