Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Added

A glass (about to be filled)

Image Added

A Chinese dragon with depth-attenuation

Image AddedThe 3delightGlass shader UI

Reflection

Image Removed

Image Removed

...

Color
Specifies the color for reflections.
Roughness

This controls the specular roughness. The smaller the value, the smoother is the surface.

Image Modified

Roughness 0.0

Image Modified

Roughness 0.1

Image Modified

Roughness 0.2

Samples
Specifies how many samples to trace for reflection.
IOR

The IOR to use to calculate Fresnel reflections.

Image Modified
IOR 1.2

Image Modified
IOR 1.6

Image Modified
IOR 2.0

 

 

Refraction

...

Color

The color of the refraction. Setting this color to 0 disables refraction.

Image Modified

Color 0.9 0.9 0.95

Image Modified

Color 0.72 0.72 0.85

Image Modified

Color 0.43 0.43 0.7

Roughness

Specifies the roughness of the refraction. The smaller the value, the smoother is the surface. Higher values can be used to emulate "ground glass" for example.

Image Modified

Roughness 0.02

Image Modified

Roughness 0.05

Image Modified

Roughness 0.1

Attenuation
 
Attenuation Strength

Image Modified

Attenuation Strength 3

Image Modified

Attenuation Strength 6

Image Modified

Attenuation Strength 12

Samples
Specifies how many samples to trace for refraction.
IOR

The index of refraction of the glass.

Image Modified

IOR 1.2

Image Modified

IOR 1.4

Image Modified

IOR 1.6

Diffuse

...

Color

This diffuse colour of the material.

Image Modified

Color 0.2 0.2 0.2

Image Modified

Color 0.6 0.6 0.6

Image Modified

Color 1.0 1.0 1.0

Roughness
This controls how diffuse is the material. A value closer to one simulate very rough material. A value of 0 renders a standard "lambertian" diffuse. On a more technical note, this paramter controls the roughness of the Oren-Nayer diffuse model.