$flesh

From Valve Developer Community
Revision as of 15:24, 28 October 2011 by Dmx6 (talk | contribs) (stub)
Jump to navigation Jump to search

Stub

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

New in the Orange Box: inside-your-body rendering effects!

Use in conjunction with the point_flesh_effect_target entity, which creates a sphere within which the flesh interior will be rendered instead of skin.

Todo: How the dickens does all this work?
// Flesh Interior Pass
$FleshInteriorEnabled		1				// Enables effect
$FleshInteriorTexture		models/Alyx/alyx_flesh_color	// Mask in alpha
$FleshNormalTexture		models/Alyx/alyx_flesh_normal
$FleshBorderTexture1D		models/Alyx/alyx_flesh_border
$FleshInteriorNoiseTexture	engine/noise-blur-256x256
$FleshSubsurfaceTexture	models/Alyx/alyx_flesh_subsurface
$FleshCubeTexture          	env_cubemap
$FleshBorderNoiseScale		3				// Flesh Noise UV scalar for border
$FleshBorderWidth		0.2				// Width of flesh border
$FleshBorderSoftness		0.5				// Border softness must be greater than 0.0 and up tp 0.5
$FleshBorderTint		"[.2 .2 .4]"			// Tint / brighten the border 1D texture
$FleshGlossBrightness		1.0				// Change the brightness of the glossy layer
$FleshDebugForceFleshOn	0				// DEBUG: This will force on full flesh for testing
$time				0

Proxies
{
	FleshInterior
	{
	}
	CurrentTime
	{
		resultVar $time
	}
}