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

Eyes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 9: Line 9:
{{MatParam|$basetexture|texture|The texture for the sclera (the white) of the eye.}}
{{MatParam|$basetexture|texture|The texture for the sclera (the white) of the eye.}}
{{MatParam|$iris|texture|The texture for the iris, which is a translucent decal projected over the sclera of the eye.}}
{{MatParam|$iris|texture|The texture for the iris, which is a translucent decal projected over the sclera of the eye.}}
{{MatParam|[[$halflambert]]|bool|Half-lambertian shading.}}
{{MatParam|$halflambert|bool|Half-lambertian shading.}}


==See Also==
==See Also==
* [[EyeRefract]]
* [[EyeRefract]]

Revision as of 09:19, 16 August 2023

English (en)Translate (Translate)
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. It may only exist/function in older engine branches.
It has since been deprecated by: EyeRefract.

Stub

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

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

Template:Entity 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