setRoughness

fun MaterialInstance.setRoughness(factor: Float)

The roughness property controls the perceived smoothness of the surface.

When roughness is set to 0, the surface is perfectly smooth and highly glossy. The rougher a surface is, the "blurrier" the reflections are.

The default value is 0.4.