Scalar shader

Scalar shader A scalar shader returns a scalar real value as a function of shading parameters (UV coordinates, world-space position and normal, etc…). For instance, it may describe thickness of a coating, or the roughness of a surface.