Skip to content
Ruben de la Torre edited this page May 5, 2018 · 1 revision

The Glass shader does refraction by perturbing the image behind it. Can be also used to make a frost effect!

Tint

Tinting. Set alpha to 0 if you like to make “crystal clear glass”.

Left: A blank sprite with alpha set to 0. Right: A stained glass sprite and some emission.

Texture

Here you need to use a Normal Map that refracts the light.

Strength

Set the refraction strength, you can also invert it by providing negative values.

Emission

Set Emission strength. Works similar to Emission intensity.