$ssbump

From Valve Developer Community
Revision as of 14:52, 17 September 2008 by TomEdwards (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$ssbump is a boolean material command that flags the material's $bumpmap as being self-shadowing.

Example

rockwall_cave_02a_height-ssbump.vtf
LightmappedGeneric
{
	$basetexture nature/rockwall_cave02a
	$surfaceprop concrete
	$bumpmap Nature/rockwall_cave_02a_height-ssbump
	$ssbump 1
}

Creating self-shadowing bump maps

...anyone know?