# 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.&#x20;
* **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.&#x20;
* **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).&#x20;

## Outputs

* **modifier**

  A glass modifier that can be assigned to a Honeybee geometry or Modifier Sets.&#x20;
