Refractive Shader

$19
Publisher Kalev Mölder
File size 11.86MB
Number of files 45
Latest version 1
Latest release date 2019-03-28 12:49:14
First release date 2017-07-20 10:39:20
Supported Unity versions 2018.4.2 or higher
Standard Pipeline Only! Not compatible with URP!

This shader emulates light refraction as it passes through media with different refractive indices.

However the effect is purely artistic/cosmetic as the method of distortion is not based on physical model of refraction.

Update 1.3 - Added new Lit and Unlit shader with:
- Masking parameters for refraction
- Alpha blending
- Sample count based quality tuning
- More Physically correct looking distortion


Update 1.2
- Added unlit distortion shader
- Added a simple particle distortion shader

Update 1.1
- Depth masking (objects in front do not get distorted contours)
- Color alpha controls transparency
- Added Factors to fade Texture maps
- Added Emissive properties

Features:
- Built on Unity's Standard Surface shader
- Chromatic Abbreviation (CA)
- Normal Map affects Distortion
- Smoothness < 1 Blurs refracted scene

Includes:
- 3 Shaders with different GPU footprints
- Demo Scene with some textures

Top Publisher Assets