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

# Translucent Modifier 3

![](/files/-MihqeHvsyYeubO6grkE)

![](/files/-MihqbNFbcyhoU_zIHXj) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-radiance/blob/master/honeybee_grasshopper_radiance/src//HB%20Translucent%20Modifier%203.py)

Create a translucent radiance modifier from reflectances and transmittances.

The sum of the reflectances and transmittances must be less than 1 and any energy not transmitted or reflected is assumed to be absorbed.

### Inputs

* #### name

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

* #### r\_diff\_ref \[Required]

A number between 0 and 1 for the red diffuse reflectance.

* #### g\_diff\_ref \[Required]

A number between 0 and 1 for the green diffuse reflectance.

* #### b\_diff\_ref \[Required]

A number between 0 and 1 for the blue diffuse reflectance.

* #### diff\_trans \[Required]

A number between 0 and 1 for the transmitted diffuse component. This is the fraction of transmitted light that is diffusely scattered.

* #### spec\_trans

A number between 0 and 1 for the transmitted specular component. This is the fraction of transmitted light that is not diffusely scattered but passes through like a beam. (Default: 0).

* #### spec

A number between 0 and 1 for the fraction of specularity. Specularity fractions greater than 0.1 are not common in non-metallic materials. (Default: 0).

* #### 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 translucent modifier that can be assigned to a Honeybee geometry or Modifier Sets.
