# Glass Modifier 3

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

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

Create an glass radiance modifier from a red, green, and blue transmittances

## Inputs

*   **name**

    Text to set the name for the modifier and to be incorporated into a unique modifier identifier.&#x20;
*   **r\_trans \[Required]**

    A number between 0 and 1 for the transmittance of the red channel. (Default: 0).&#x20;
*   **g\_trans \[Required]**

    A number between 0 and 1 for the transmittance of the green channel. (Default: 0).&#x20;
*   **b\_trans \[Required]**

    A number between 0 and 1 for the transmittance of the blue channel. (Default: 0).&#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;
