X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=shaderlib%2Fcooktorrance.glsl;h=e23f12190b5f77da6a425842a15986a44801b876;hp=1e00e1f5f6c426ef9fce488e3c92d9c80fed00ac;hb=fde970652beb2832d1fbdad7bde9172454c65eb9;hpb=4cb7dfca6cf5b2b9fcffd0107181f0c5410adf87 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 */