This article's documentation is for anything that uses the Source engine. Click here for more information.

Eyes

From Valve Developer Community
Revision as of 13:18, 20 July 2024 by Cvoxalury (talk | contribs) (Hid the advice to use EyeRefract, as Eyes is still doing fine and going strong in HL2/Source 2013 modding, while EyeRefract is tied to numerous issues)
Jump to navigation Jump to search
English (en)Translate (Translate)
This article is about the older shader. For the succeeding shader, see EyeRefract.  For the QC property of $model, see Eyeball./ For the tool, see qc_eyes.

Stub

This article or section is a stub. You can help by expanding it.

Alyx's eyeball in Episode Two, using this shader.

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

Parameters

$basetexture $iris $halflambert

See also