RefractionEffect

Author: Nils Daumann.

Description


This is some basic fullscreen refraction effect. It shifts a refraction texture which disorts the screen and also allows to color specific parts.

Works on fragment program capable cards (Radeon 9500+, GeForce FX+, Intel 9xx).

'''Requires Unity PRO. This script uses texture rendering and Post-processing only available in Unity Pro'''

Usage



 * Speed (XY) the movement speed.
 * Strength (ZW) the strengths of disortion.
 * Refraction Tilefac is the tiling of the refraction texture.
 * Refraction (RG) is the refraction texture, where usually the red and blue channel of a normalmap are doing a good job.
 * Colormask (B) is a factor defining how much Color effects the refracted pixel.
 * Color is the color you want to give the refracted pixels.

Download
[[Media:Refraction.zip]]