def METHOD_NAME(b_mat, glossiness):
    # convert glossiness, range [0,inf), with high values leading to sharp reflections, to roughness, range [0,1],
    # where low values give sharp reflections
    b_mat.roughness = 1/(glossiness+1)