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
mNo edit summary
Line 11: Line 11:
{{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==
* [[EyeRefract]]

Revision as of 06:39, 5 February 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.

Stub

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

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

Shader-ball.png Eyes It creates character eyes by defining a white sclera texture and an iris texture to be drawn on top of it.

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

Parameters

$basetexture $iris [[$halflambert|$halflambert]]

See Also