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

Eyes

From Valve Developer Community
Jump to: navigation, search

English (en)
... Icon-Important.png
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.
Obsolete-notext.png
This entity is Obsolete. Its use is discouraged, and it may only exist/function in older engine branches.
It has since been replaced by EyeRefract.

Stub

This article or section is a stub. You can help by adding to 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

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

See also