You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documents/Specification/MaterialX.PBRSpec.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,16 +200,19 @@ Implementations are expected to preserve energy as the roughness of the surface
200
200
201
201
The `tint` input colors the reflected and transmitted light but should be left at white (1,1,1) for physically correct results. Setting the `ior` input to zero disables the Fresnel curve, allowing reflectivity to be controlled purely by weight and tint.
202
202
203
-
The `scatter_mode` controls whether the surface reflects light (`R`), transmits light (`T`), or both (`RT`). In `RT` mode, reflection and transmission occur both when entering and leaving a surface, with their respective intensities controlled by the Fresnel curve. Depending on the IOR and incident angle, total internal reflection may occur even when transmission modes are selected.
203
+
Setting `retroreflective` to true switches the BSDF to retroreflection mode, where light is reflected back toward the incoming direction rather than the mirror reflection direction[^Raab2025].
204
204
205
205
Thin-film iridescence effects[^Belcour2017] may be enabled by setting `thinfilm_thickness` to a non-zero value.
206
206
207
+
The `scatter_mode` controls whether the surface reflects light (`R`), transmits light (`T`), or both (`RT`). In `RT` mode, reflection and transmission occur both when entering and leaving a surface, with their respective intensities controlled by the Fresnel curve. Depending on the IOR and incident angle, total internal reflection may occur even when transmission modes are selected.
|`weight`|Weight of the BSDF contribution |float |1.0 |[0, 1]|
210
212
|`tint`|Color weight to tint the reflected and transmitted light |color3 |1.0, 1.0, 1.0||
211
213
|`ior`|Index of refraction of the surface |float |1.5 ||
212
214
|`roughness`|Surface roughness along the tangent and bitangent |vector2|0.05, 0.05 |[0, 1]|
215
+
|`retroreflective`|Enable retroreflection mode for the BSDF |boolean|false ||
213
216
|`thinfilm_thickness`|Thickness of the iridescent thin-film layer in nanometers |float |0.0 ||
214
217
|`thinfilm_ior`|Index of refraction of the thin-film layer |float |1.5 ||
215
218
|`normal`|Normal vector of the surface |vector3|Nworld ||
@@ -227,6 +230,8 @@ Implementations are expected to preserve energy as the roughness of the surface
227
230
228
231
The default values for `ior` and `extinction` represent approximate values for gold.
229
232
233
+
Setting `retroreflective` to true switches the BSDF to retroreflection mode, where light is reflected back toward the incoming direction rather than the mirror reflection direction[^Raab2025].
234
+
230
235
Thin-film iridescence effects[^Belcour2017] may be enabled by setting `thinfilm_thickness` to a non-zero value.
|`retroreflective`|Enable retroreflection mode for the BSDF |boolean|false ||
238
244
|`thinfilm_thickness`|Thickness of the iridescent thin-film layer in nanometers|float |0.0 ||
239
245
|`thinfilm_ior`|Index of refraction of the thin-film layer |float |1.5 ||
240
246
|`normal`|Normal vector of the surface |vector3|Nworld ||
@@ -251,10 +257,12 @@ Implementations are expected to preserve energy as the roughness of the surface
251
257
252
258
The `color82` input provides a multiplier on reflectivity at 82 degrees, useful for capturing the characteristic "dip" in the reflectance curve of metallic surfaces. Setting it to (1,1,1) effectively disables this feature for backward compatibility.
253
259
254
-
The `scatter_mode` behavior matches that of `dielectric_bsdf`: in `RT` mode, reflection and transmission occur both when entering and leaving a surface, with intensities controlled by the Fresnel curve. Total internal reflection may occur depending on the incident angle.
260
+
Setting `retroreflective` to true switches the BSDF to retroreflection mode, where light is reflected back toward the incoming direction rather than the mirror reflection direction[^Raab2025].
255
261
256
262
Thin-film iridescence effects[^Belcour2017] may be enabled by setting `thinfilm_thickness` to a non-zero value.
257
263
264
+
The `scatter_mode` behavior matches that of `dielectric_bsdf`: in `RT` mode, reflection and transmission occur both when entering and leaving a surface, with intensities controlled by the Fresnel curve. Total internal reflection may occur depending on the incident angle.
[^Walter2007]: Bruce Walter et al., **Microfacet Models for Refraction through Rough Surfaces**, <https://www.graphics.cornell.edu/~bjw/microfacetbsdf.pdf>, 2007
0 commit comments