Bring characters to life with MagicEye ✨
Compatibility information⚙️
Unity 6 / URP 17
Forward and Forward+
Works in WebGL
MagicEye is a shader that replaces flat "painted-on" eye textures with an eye that behaves like one.
🎯Works on rigged characters, with no setup
Features:
Iris parallax – the view ray refracts through the cornea at a real index of refraction, so the iris genuinely sits beneath the surface instead of being painted on it
Iris Curvature – tapers the parallax depth toward the limbus so the rim stays pinned and never smears
Corneal dome – shapes the long, stretched highlight real eyes carry near the limbus. Analytic, so it changes the shading without touching the silhouette
Runtime pupil dilation – a runtime component that reproduces the real pupillary reflex: constricts fast, dilates slowly. It raycasts toward the light, so an eye standing in shadow dilates like it should
Sclera veins with a Bloodshot slider
Limbal ring, limbal scatter and sclera translucency
Lower iris glow – the bounce off the back of the eye onto the lower iris. Anchored to world down, so it stays at the bottom however the eye rotates, with a Glow Angle offset
Reflection probe support – separate cornea and sclera reflection strengths, plus Fresnel power and smoothness
View-space catchlight – keeps a glint in the eye even when the key light swings behind the character
Custom inspector with a tooltip on every control