S&box Wiki

Revision Difference

Glass_Shader#549637

<cat>Material.ShaderList</cat>⤶ <title>Glass Shader</title>⤶ ⤶ #Glass Material Shader⤶ ⤶ ## Quality⤶ Users can select between a simple, efficient rendering method or a more accurate, physically accurate shading technique.⤶ ⤶ <upload src="76d7b/8db3b7df3355079.png" size="6155" name="image.png" />⤶ <upload src="76d7b/8db3b7dfb475aa5.png" size="3773183" name="image.png" />⤶ ## Glass Blur⤶ The shader allows for control over glass blur by adjusting roughness values. A slider can be used to modulate the blur effect.⤶ <upload src="76d7b/8db3b7db4935bc2.png" size="1477265" name="image.png" />⤶ ⤶ ## Refraction⤶ The index of refraction can be adjusted within the shader to achieve desired visual effects.⤶ <upload src="76d7b/8db3b7e66bd7efa.png" size="709380" name="image.png" />⤶ ⤶ ## Overlay Layer⤶ This feature is useful when adding elements on top of the glass material, such as grime or grating patterns.⤶ <upload src="76d7b/8db3b7e196487f2.png" size="400231" name="image.png" />⤶ ⤶ ## Shadows⤶ Shadows are approximated by the diffraction of glass, and can be controlled by adjusting the albedo tint color and roughness values.⤶ <upload src="76d7b/8db3b7e5af769ee.png" size="817064" name="image.png" />⤶ <upload src="76d7b/8db3b7e5de031b3.png" size="338013" name="image.png" />