Thin Glass Material (thnGlss)

key: thnGlss

type: C

  1. color: normal reflectance (typical real glass is .04)
  2. color: transmission

Description

Simplistic transparency with attenuated transmission, Fresnel reflectance, but no refraction (to ease the pain of sampling light sources). Transmission is constant at all angles.

BRDF

Two Kronecker delta functions:
  1. in the incident direction (i.e. passing right through the surface), attenuated by the given transmission.
  2. in the reflection direction, with intensity scaled by the Fresnel reflectance for a dielectric.

Examples

	     
  thnGlss
    rgb 0.85 0.85 0.85 end
    rgb 0.04 0.04 0.04 end
  end