|Pros|Cons| |---|---| |1 Manifold object, 1 Material, No clutter|Can't change pupil size| |100% Real-time, BGE friendly|Low res (not for close up viewing)| |Colorable iris|Inaccurate reflections around eye's cornea| |Iris refraction|Cornea is sensitive to any geometry deformation|
Real-time eyeball with faked reflections and iris refraction. Big thanks to Binary on Blender Artists for his amazing IBL node setup, thanks to which I was able to get object space reflection mapping. Also thanks to proxe here on Blendswap for his awesome CC-Zero Eye Texture Pack.
I'd like to credit the author of the enivronmental equirectangular church image, but I can't figure out where I got it, since I've had it for a very long time. If anyone knows who made it, I'd appreciate if you told me so we can credit the author.
Note: If you've put the eye into your scene and the textures are glitching out for you, be sure to turn off World space shading under the shading options panel.
It's just proper reflection mapping. You could achieve the same effect, even without nodes using a cubemap. Real-time equirectangular mapping is natively supported strangely only for the real-time world environment image textures, not objects yet. I think we'll see a lot of changes with this kind of stuff in 2.8.
Aside from the simplicity of a single eyeball. I love the way this shader fakes reflections. Thanks for sharing.