> 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/glass_modifier.md).

# Glass Modifier

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

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

Create an glass radiance modifier from a single transmittance.

### Inputs

* #### name

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

* #### trans \[Required]

A number between 0 and 1 for the glass modifier transmittance. This transmittance will be the same for the red, green and blue channels.

* #### refract

Index of refraction. Typical values are 1.52 for float glass and 1.4 for ETFE. If None, Radiance will default to using 1.52 for glass (Default: None).

### Outputs

* #### modifier

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