Eyes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Redirected page to Eyeball)
 
(Removed redirect and documented the Eyes shader)
Line 1: Line 1:
#redirect [[Eyeball]]
{{For|about=the obsolete shader|the succeeding shader|{{ent|EyeRefract}}|the [[QC]] property of [[$model]]|[[Eyeball]]|the tool|[[qc_eyes]]}}
{{obsolete|shader=1}}
{{stub}}
[[File:Eye alyxep2.jpg|thumb|Alyx's eyeball in [[Episode Two]], using this shader.]]
{{Shader|Eyes}} It creates character eyes by defining a white sclera texture and an iris texture to be drawn on top of it.
{{Note|This shader was obsoleted by the <code>EyeRefract</code> shader; use that instead.}}
 
==Parameters==
{{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|[[$halflambert]]|bool|Half-lambertian shading.}}

Revision as of 16:16, 18 February 2020

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]]