]> git.tdb.fi Git - libs/gl.git/blobdiff - shaderlib/cooktorrance.glsl
Use correct shader variable names for PBR materials
[libs/gl.git] / shaderlib / cooktorrance.glsl
index 1e00e1f5f6c426ef9fce488e3c92d9c80fed00ac..e23f12190b5f77da6a425842a15986a44801b876 100644 (file)
@@ -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 */