/**
 *
 * @param {Material|MeshStandardMaterial|ShaderMaterial} source
 * @returns {boolean}
 */
export function isLitMaterial(source) {
    return source.isMeshStandardMaterial || (source.isShaderMaterial && source.lights);
}
