For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but we’ll share Refractive Shader for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Refractive Shader v1.2
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




