<commit_before>vec3 LINEARtoSRGB(vec3 linearIn) 
{
    #ifndef HDR 
    return pow(linearIn, vec3(1.0/2.2));
    #else 
    return linearIn;
    #endif 
}

czm_modelMaterial lightingStage(czm_modelMaterial inputMaterial)
{
    // copying so normal
    czm_modelMaterial outputMaterial = inputMaterial;
    vec3 color = vec3(0.0);

    // Hard-coding the unlit behavior for now, PBR will come in a future
    // branch
    color = inputMaterial.diffuse;

    color = LINEARtoSRGB(color);

    outputMaterial.diffuse = color;
    return outputMaterial;
}<commit_msg>Update comment<commit_after>vec3 LINEARtoSRGB(vec3 linearIn) 
{
    #ifndef HDR 
    return pow(linearIn, vec3(1.0/2.2));
    #else 
    return linearIn;
    #endif 
}

czm_modelMaterial lightingStage(czm_modelMaterial inputMaterial)
{
    // Even though the lighting will only set the diffuse color,
    // pass all other properties too so further stages have access to them.
    czm_modelMaterial outputMaterial = inputMaterial;
    vec3 color = vec3(0.0);

    // Hard-coding the unlit behavior for now, PBR will come in a future
    // branch
    color = inputMaterial.diffuse;

    color = LINEARtoSRGB(color);

    outputMaterial.diffuse = color;
    return outputMaterial;
}
{'fraction_non_alphanumeric': 0.08353413654618475, 'fraction_numerical': 0.017670682730923693, 'mean_word_length': 3.223728813559322, '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': '6197715', 'n_tokens_mistral': 408, 'n_tokens_neox': 384, 'n_words': 110}