$flesh: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
TomEdwards (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
{{todo|How the dickens does all this work?}} | {{todo|How the dickens does all this work?}} | ||
''// Flesh Interior Pass'' | |||
$FleshInteriorEnabled 1 ''// Enables effect'' | $FleshInteriorEnabled 1 ''// Enables effect'' | ||
$FleshInteriorTexture models/Alyx/alyx_flesh_color ''// Mask in alpha'' | $FleshInteriorTexture models/Alyx/alyx_flesh_color ''// Mask in alpha'' | ||
| Line 17: | Line 18: | ||
$FleshDebugForceFleshOn 0 ''// DEBUG: This will force on full flesh for testing'' | $FleshDebugForceFleshOn 0 ''// DEBUG: This will force on full flesh for testing'' | ||
$time 0 | $time 0 | ||
Proxies | |||
{ | |||
FleshInterior | |||
{ | |||
} | |||
CurrentTime | |||
{ | |||
resultVar $time | |||
} | |||
} | |||
[[Category:List of Shader Parameters|F]] | [[Category:List of Shader Parameters|F]] | ||
Revision as of 00:51, 13 July 2008
New in the Orange Box: skin rendering effects!
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
}
}