> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/hb-radiance-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/hb-radiance-primer/components/1_modifiers/metal_modifier.md).

# Metal Modifier

![](https://2572426507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9X8PomX22wWVDNCoj%2Fuploads%2Fgit-blob-d95f4b09013a990b23cb8ca761e2dc119887663d%2FMetal_Modifier.png?alt=media)

![](https://2572426507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9X8PomX22wWVDNCoj%2Fuploads%2Fgit-blob-fb9bf655d19c257767f61807b7f8a40e0133b437%2FMetal_Modifier.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-radiance/blob/master/honeybee_grasshopper_radiance/src//HB%20Metal%20Modifier.py)

Create a metal radiance modifier from a single reflectance.

### Inputs

* #### name

Text to set the name for the modifier and to be incorporated into a unique modifier identifier.

* #### diff

A number between 0 and 1 for the absolute diffuse metal reflectance. This reflectance will be the same for the red, green and blue channels. (Default: 0)

* #### spec

A number between 0 and 1 for the absolute specular reflectance of the modifier. Note that the sum of this value and the diffuse \_reflect should be less than one. Specularity of metals is usually 0.9 or greater. (Default: 0.9)

* #### rough

Roughness is specified as the rms slope of surface facets. A value of 0 corresponds to a perfectly smooth surface, and a value of 1 would be a very rough surface. Roughness values greater than 0.2 are not very realistic. (Default: 0).

### Outputs

* #### modifier

A metal modifier that can be assigned to a Honeybee geometry or Modifier Sets.
