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

GooInGlass

From Valve Developer Community
Jump to navigation Jump to search
Icon-under construction-blue.png
This is a draft page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.
English (en)Translate (Translate)

GooInGlass is a Pixel shader available in all Source Source games.

Used for realistic glass container, Containing a violent fluid. (from Kleiner's Lab) The alpha channel Of "$basetexture" decides how much basetexture is shown ontop of the bump map. Can handle both displaying a moving normalmap only at the transparent area of a texture and make it display under it. Deprectaed after Orange Box.

Parameters

$basetexture <texture>
Base texture.
$bumpmap <texture>
bumpmap
$bumptransform <matrix>
Bump transform
$envmap <texture>
envmap
$glassenvmap <texture>
glass envmap
$envmaptint <color>
env ma tint
$glassenvmaptint <color>
glas env map tint
$translucentgoo <boolean>
translucent goo

bumpframe?