X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=shaderlib%2Fcooktorrance.glsl;h=e23f12190b5f77da6a425842a15986a44801b876;hb=fde970652beb2832d1fbdad7bde9172454c65eb9;hp=1e00e1f5f6c426ef9fce488e3c92d9c80fed00ac;hpb=f7d6481be3511153ded018e119bcac852faa0766;p=libs%2Fgl.git diff --git a/shaderlib/cooktorrance.glsl b/shaderlib/cooktorrance.glsl index 1e00e1f5..e23f1219 100644 --- a/shaderlib/cooktorrance.glsl +++ b/shaderlib/cooktorrance.glsl @@ -49,7 +49,7 @@ vec3 get_emission_color() if(use_emission_map) return texture(emission_map, texcoord.xy).rgb; else - return basic_material.emission.rgb; + return pbr_material.emission.rgb; } /* Computes the diffuse reflection of the macrosurface */