EyeRefract
Jump to navigation
Jump to search


This article is about the shader. For the preceding shader, see Eyes. For the QC property of $model, see Eyeball./ For the tool, see qc_eyes.
EyeRefract
is a Vertex shader available in all Source games since
Source 2007. This shader is a successor to the Eyes shader from Source 2004. Like it, EyeRefract is used to create life-like eyes, with more realistic shading, cornea parallax, and a wider set of supported effects than Eyes.






Shader Parameters
$iris
$irisframe
$corneatexture
$corneabumpstrength
$parallaxstrength
$dilation
$lightwarptexture
$envmap
$glossiness
$ambientoccltexture
$ambientocclcolor
$ambientocclusion
$halflambert
$raytracesphere
$spheretexkillcombo
$eyeballradius
Other Parameters
$eyeorigin
$irisu
$irisv
$intro
$warpparam
$entityorigin
Todo: Include cloak parameters in here?
Todo: Can this shader be used outside of a model with qc eyes, by using proxies (or in SFM override materials) to modify these shader values?