Glass material can be used for all different kinds of transparent materials like glass, acrylic, and diamond, among others. It is also an ideal material for liquids such as water. Within the glass material properties, many indices of refraction presets are available for the accurate representation of these materials within the scene.
Video captions: Create a Glass material and assign it to the headlight’s geometry. You must always use double-walled geometry to guarantee realistic results. Exterior Transparency controls the transparency of the glass whereby, for instance, a tint can be created. The Reflection Color defines the color of the highlights on the glass. Under Select Medium, you can choose from a library of different materials with different refraction values. Refraction only works in combination with the Raytracing mode. Select Glass. The index of the refraction value changes automatically to the refraction value of the selected medium. With the Fresnel Term Quality, you can choose between Accurate and Fast. Fast enables a quick but less precise calculation, while Accurate, on the other hand, is slower, yet more precise. Through activation of Use Roughness, you can simulate the roughness of a surface. The higher the roughness, the more diffuse and soft the reflection of the light on the material behaves. The smaller the value, the sharper the highlights. Via the roughness of the material, you can, for example, simulate plexiglass or milk glass.
Glass Material
Exterior Transparency - Sets the material exterior transparency color. This acts like a color filter for the light coming from behind the surface. A darker color blocks more light and makes the surface more opaque. In OpenGL, the exterior transparency sets the color of the glass when the surface normal is facing towards the camera. This is in contrast of the interior transparency, which sets the color when the normal is facing away from the camera. Raytracing uses this attribute for both sides.
Interior Transparency - Sets the material interior transparency. It acts the same as the exterior transparency by filtering the light coming from behind the surface. A darker color blocks more light, making the surface more opaque. In OpenGL, the interior transparency sets the color of the glass when the surface normal is facing away from the camera. This is in contrast of the exterior transparency, which sets the color when the normal is facing towards the camera. Raytracing ignores this attribute.
Reflection Color - Sets the material color for reflections.
Select Medium - Offers a wide selection of refraction indices based on materials existing in reality. The selected medium affects the Index of Refraction automatically.
Refraction Index - Sets the material’s refraction index. Only supported in Raytracing rendering mode.
Simulated Thickness - Sets the materials simulated thickness.
Use Dispersion - Simulates how different wavelengths of light are refracted, resulting in dispersion effects. This only works with spectral raytracing.
Input Type - Defines how the refraction indices for different wavelengths are calculated.
Abbe Number - (Also known as the V-number or constringence of a transparent material) Sets the approximate dispersion of the glass or other materials. It is used to classify the chromaticity of glass and other optical materials. The higher the value, the lower its dispersion. This is also known as the V-number or constringence of a transparent material.
When Spectral Distribution is selected, Abbe Number is disabled.
Custom Reflectivity - Controls the intensity of reflection on the surface. The higher the value the more the influence from environment and objects around.
Fresnel Term Quality - Describes the intensity of a reflection based on the viewing angle. Its intensity at normal incidence sets the material’s reflectivity.
Use Solid Shadows - Casts a solid (black) shadow (if a render mode is selected that can calculate caustic effects due to refractions). Otherwise, the color of the shadow is calculated solely on the Glass’s color.
Use Roughness - Makes the glass frosted with glossy reflections and refractions, wnen enabled. The roughness parameter controls light refractions on top of the surface. The higher the value, the rougher the microscopic structure on top of the surface and the more diffuse the reflections.
Use Density - Makes the rays traveling through the glass attenuated, based on the distance it travels inside the glass.
Texture
Texture settings define how a texture is placed on the surface and how the planar projection is blended at the edges.
Texture Mode - Defines how a texture is placed on the surface, whether it uses UV Coordinates or Triplanar projection. By using UV coordinates there are no other parameters to be set. Using the Triplanar Texture Mode, the following options are available:
Edge Blend - Sets the range for overlapping areas of the planar projection.
Texture Size X, Y - Defines the textures size along the X and Y-axis. Enter the width and height of the texture in millimeters. Only available with the mapping type - UV and Use Texture Size selected or with the mapping type - Triplanar.
Uniform Repeat - Synchronizes the repetition value for all projection axes. If selected, the repeat factors of the x, y, and z axes of the triplanar texture projection are linked.
X Repeat UV - Sets the UV repeat factors for the x-axis of the triplanar texture projection.
X Offset UV - Sets the UV offset for the x-axis of the triplanar texture projection.
X Rotate - Sets the rotation value for the x-axis texture coordinates of the triplanar texture projection.
Y Repeat UV - Sets the UV repeat factors for the y-axis of the triplanar texture projection.
Y Offset UV - Sets the UV offset for the y-axis of the triplanar texture projection.
Y Rotate - Sets the rotation value for the y-axis texture coordinates of the triplanar texture projection.
Z Repeat UV - Sets the UV repeat factors for the z-axis of the triplanar texture projection.
Z Offset UV - Sets the UV offset for the z-axis of the triplanar texture projection.
Z Rotate - Sets the rotation value for the z-axis texture coordinates of the triplanar texture projection.
Exterior Transparency Texture
Can be used to load a texture to the exterior surface.
Use Image Sequence - Select when an image sequence is loaded in the Use Texture box. This uses an image sequence as a texture. The image name for the sequence will be generated based on the filename and the image number. Use the Curve Editor to animate the image number. Go to Animation > Timeline. Click play to view the animated image sequence on the material.
For a group of images to be considered an image sequence, there must be at least two images with the same name with an increasing numeric value. The required naming format is name, number, and extension. For example, image000.png image01.png.
Link Texture Settings - Available only when Use Texture is enabled. Links the texture mapping settings together when multiple texture slots of a material are selected. When changing the Repeat UV of a linked texture, all linked textures are changed at once. When selecting this option for a texture, while other textures of that material are already linked, its texture settings are also set to the already linked settings.
Depending on the type of material, the setting options can vary. For common materials like Plastic and Phong, there are now three mapping types selectable for the using textures:
Mapping Type - Available only when Use Texture is enabled. Sets the mapping type of the texture. There are three modes which can be selected:
Repeat Mode UV - Available only when Use Texture is enabled. Sets how the texture is repeated. There are four modes:
Anisotropy - Available only when Use Texture is enabled. Sets the texture filter quality for the image texture. Use the following as a guide:
For further information on the other attributes, see the following: