Character (shader): Difference between revisions
Jump to navigation
Jump to search
Note:In addition to all previous VertexLitGeneric parameters.
Note:In addition to all previous VertexLitGeneric parameters.
Note:In addition to all previous VertexLitGeneric parameters.
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
{{MatParam|$rimlightalbedo|float|Rimlight albedo overbrightening factor.}} | {{MatParam|$rimlightalbedo|float|Rimlight albedo overbrightening factor.}} | ||
{{MatParam|$rimlighttint|RGB matrix|Color tint of the rimlight.}} | {{MatParam|$rimlighttint|RGB matrix|Color tint of the rimlight.}} | ||
{{MatParam|$fakerimboost|float| | {{MatParam|$fakerimboost|float|Controls the strength of ''fake'' rimlight that doesn't use ambient color (visible in pitch black).}} | ||
{{MatParam|$fakerimtint|RGB matrix| | {{MatParam|$fakerimtint|RGB matrix|Color of the ''fake'' rimlight.}} | ||
{{MatParam|$fakerimlightscaleminmax|vector2|{{todo}}.}} | {{MatParam|$fakerimlightscaleminmax|vector2|{{todo}}.}} | ||
{{MatParam|$rimhaloboost|float|{{todo}}.}} | {{MatParam|$rimhaloboost|float|{{todo}}.}} |
Revision as of 11:42, 28 February 2020
Character is a material shader available in . Shares most generic parameters of VertexLitGeneric. Takes advantage of mask textures to tune stuff like rimlighting, phong shading and other.
Supported Parameters
Textures & Masks
- $basetexture
- Diffuse mask.
- $bumpmap
- Normal map.
- $envmap
- Specular reflection mask.
- $masks1
- Red channel - $rimlight mask
- Green channel - Phong mask
- Blue channel - Metalness mask
- Alpha channel - $warpindex mask
- $masks2
- Red channel - Shadow saturation mask
- Green channel - Angle of Anisotropy
- Blue channel - $envmap light scale
- Alpha channel - Retroreflectivity
- $phongwarptexture
- Phong warp texture.
- $fresnelrangestexture
- [Todo]
Unique Envmap Parameters

$envmaplightscale
$envmaplightscaleminmax
Unique Phong Parameters

Unique Rimlight Parameters

$rimlightalbedo
$rimlighttint
$fakerimboost
$fakerimtint
$fakerimlightscaleminmax
$rimhaloboost
$rimhalobounds
Ambient Reflection Parameters
$ambientreflectionboost
$ambientreflectionbouncecolor
$ambientreflectionbouncecenter
Shadow Parameters
$shadowrimboost
$shadowsaturation
$shadowsaturationbounds
$shadowtint
$shadowcontrast