From Valve Developer Community
Jump to: navigation, search
This article is about the obsolete shader. For the succeeding shader, see EyeRefract. For the QC property of $model, see Eyeball. For the tool, see qc_eyes.
Alyx's eyeball in Episode Two, using this shader.

Eyes is a material shader available in all Source games. It creates character eyes by defining a white sclera texture and an iris texture to be drawn on top of it.

Note.png Note: This shader was obsoleted by the EyeRefract shader; use that instead.


$basetexture <texture>
The texture for the sclera (the white) of the eye.
$iris <texture>
The texture for the iris, which is a translucent decal projected over the sclera of the eye.
$halflambert <boolean>
Half-lambertian shading.