metallicRoughnessTexture property
The combined metallic-roughness texture (B = metallic, G = roughness). Defaults to white when null.
Accepts a gpu.Texture or a RenderTexture (sampled live).
Implementation
gpu.Texture? get metallicRoughnessTexture =>
resolveTextureSource(_metallicRoughnessSource);
Implementation
set metallicRoughnessTexture(Object? value) => _metallicRoughnessSource =
checkTextureSource(value, 'metallicRoughnessTexture');