Thin Glass Shader
The Thin Glass shader is for transparent surfaces through which you want to see other elements in the scene. A typical use is for a car windshield or windows that look onto other modeled geometry in a scene. Note: the shader cannot currently distort the appearance of objects behind it (e.g. with bumps).
As seen in Maya the controls are:
Sampling anisotropy can generally be left at 4x. It’s the number of passes made to reduce aliasing or “jaggies” on textures that have high contrast (e.g. checkerboard floor patterns) as they get farther away from camera.
The “diffuse sampler” is the color texture painted on the transparent surface. It uses the UV set indicated by “UV” to map onto the object. The surface is simulated as a layer of (base) color glass with mirroring underneath.
The opacity setting determines how much one can see through the mirror layer. Highlights and lighting effects on the glass above are not affected by the opacity.
The normal sampler points to an RGB color texture generated with one of several available tools (NVidia has a Photoshop plug-in). It uses the same UV set as the base color texture.
The reflection sampler needs a “latitude / longitude” spherical panorama of medium to high resolution (e.g. 1k). The intensity of the effect, its “softness” indicating roughness of the surface can be varied.
The Blinn-Phong point light has a color, a position in global coordinates of the scene, diffuse and specular strength and specular sharpness. Its often useful to constrain the position to windows for interiors or the sun in outdoor scenes.
An additional trick is that the specular layer can be illuminated by ambient IBL to look like “dirt”. The intensity of the effect (amount of IBL light) and the softness can be varied. Note that for simplicity the reflection map is used, and the softness value will need to be higher.
The final parameter rotates the ambient environment map on the global Y axis. This allows matching the ambient lighting to an environment bubble or cyclorama which may be positioned differently.
Download the Shader Library 2014 package from the Dashboard.
- DiffuseSampler: White JPEG
- Opacity: 0.25
- Bumpiness: 0.2
- Reflect Intensity: 1
- Reflect Softness: 1
- Diffuse Strength: 0
- Specular Strength: 0.205
- Specular Sharpness: 0
- Spec As Dirt: 1
- Ambient Softness(for dirt): 5