User Tools

Site Tools


shaders:fx:glass

Table of Contents

Glass

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. NextGenSprites Extra Assets already provides you with a collection of Normal Maps made for Refraction!

Strength

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

Emission

Set Emission strength. Works similar to Emission Intensity.

shaders/fx/glass.txt · Last modified: 2015/09/28 19:47 by admin

Page Tools