Advanced Glass Shader

This shader provides extended control over glass materials compared to the default setup in Blender. It features a dispersion effect that splits light rays to create a spectral rainbow gradient. Users can adjust color using an integrated volume absorption system that reacts to the model's depth and density rather than applying a flat color tint.

The node setup includes independent controls for transmission roughness and reflectance roughness. It also incorporates a lightweight fake caustic shadow system to simulate light refracting through objects, which is often difficult to calculate in standard path tracing. Built-in normal map support is included for adding surface details to the glass material.