$flesh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Robot: fixing template case.)
Line 3: Line 3:
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.
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?}}
{{TODO|How the dickens does all this work?}}


  ''// Flesh Interior Pass''
  ''// Flesh Interior Pass''

Revision as of 20:17, 19 January 2009

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