Difference between revisions of "LuxCoreRender Materials Glass"

From LuxCoreRender Wiki
Jump to navigation Jump to search
Line 1: Line 1:
[[file:Luxcore_materials_glass.jpg|400px]]


The glass material represents a smooth dielectric substance. It works well for materials such glass, crystals, clear liquid, transparent plastic, and gemstones.  
The glass material represents a smooth dielectric substance. It works well for materials such glass, crystals, clear liquid, transparent plastic, and gemstones.  

Revision as of 21:03, 7 December 2017

Luxcore materials glass.jpg

The glass material represents a smooth dielectric substance. It works well for materials such glass, crystals, clear liquid, transparent plastic, and gemstones.


Options

IOR

The index of refraction for the material. This value determines the overall appearance of the material, and should be set according to the material you are trying to simulate.


Reflection Color

This is the color of light reflected from the surface.


Transmission Color

This is the color that the light will be filtered to after being transmitted. The color given here will be applied to the material uniformly, you may wish to derive the color from the objects volume instead. (or use the glass2 material, which uses the volume for nearly everything).


Architectural

This option disables refraction during transmission. The effective result is that transmission will appear as though the glass had an IOR of 1.0, while reflections will use the specified IOR. The resulting glass will show only the transmission/reflection colors and volumes effects. You could enable this option for a thin sheet of glass such as a window, and it will render much faster, as there is less to compute. However, disable it on any curved glass as it will make the object look fake.

There are several other important features to architectural mode, besides reducing the necessary calculations of the material. Because there is no refraction during transmission, architectural glass is transparent to shadow rays and alpha, neither of which is the case in non-architectural mode. This is especially important for window glass. Because it is transparent to shadow rays, it is possible to perform direct light sampling through the window to outside light sources, greatly improving the render efficiency. And because it reflects but still propagates alpha, it allows you to have realistic interior reflections and absorption on the windows, while still being able to composite in a backdrop for the view outside of the window.


Glass and Glass2

LuxCoreRender also contains a "Glass2" material which is similar in appearance as Glass. The two materials differ in what they can do. Glass2 is better if you need two volumes interacting with each other, such as water in a glass. Glass2 can calculate the relative IOR between those two surfaces, which Glass requires to be done manually with a third mesh and the user calculating the relative IOR by hand. Glass2 can also handle more specific and technical IOR data than the Glass material, such as using the Sellmeier equation, so Glass2 technically can handle light more accurately than Glass.

On the other hand, Glass has got the option for a separate reflection and transmission color (for painted glass) or using a thin film coating.