This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Glass Sample

This material graph sample demonstrates different implementations of glass materials for different needs.

Thick colored glass

Blended Reflective Material#

The glass_blend_mode_add sample is a material providing raymarched fresnel-based reflection in the Additive blending mode that can be used as a reflective component in compound materials.

Blended Refractive Material for Thick Glass#

The glass_blend_mode_refraction_thick sample implements fresnel-based refraction for thick objects in the Multiplicative blending mode. It showcases the use of the Refraction Screen UV Offset For Thick Objects node and can be used as a refractive component in compound materials.

Blended Refractive Material for Thin Glass#

The glass_blend_mode_refraction_thin sample implements fresnel-based refraction for thin objects in the Multiplicative blending mode. It showcases the use of the Refraction Screen UV Offset For Thin Objects node and can be used as a refractive component in compound materials.

High-Quality Thick Colored Glass#

The glass_thick_colored_high_quality sample showcases an implementation of high-quality raymarched reflection and refraction for thick colored glass objects. The Fresnel node defines the mutually exclusive intensities of each component.

Low-Quality Thick Colored Glass#

The glass_thick_colored_low_quality sample showcases an implementation of low-quality refraction for thick colored objects by means of the Refraction Simple For Thick Objects node. The Fresnel node defines the intensity of refraction.

Thin Colored Glass#

The glass_thin_colored sample showcases the use of the Refraction Simple For Thin Objects and Reflection Raymarched nodes for thin colored glass objects. The Fresnel node defines the mutually exclusive intensities of each component.

Last update: 2024-08-16
Build: ()