PBR (Strata shader): Difference between revisions
mNo edit summary |
Thunder4ik (talk | contribs) m (clean up, replaced: See Also → See also, {{Language subpage → {{langsp) |
||
Line 1: | Line 1: | ||
{{ | {{langsp}}It uses many different texture maps to create a more accurate simulation of light. {{Strata|2}} uses a modified version of [[Adding PBR to your mod|Thexa4's PBR shader]], which is capable of rendering lightmaps on brushes. | ||
{{note|Similar unrelated PBR-based shaders are also used in {{tfbranch|4.1}} and {{Source2|4.1}}.}} | {{note|Similar unrelated PBR-based shaders are also used in {{tfbranch|4.1}} and {{Source2|4.1}}.}} | ||
Line 64: | Line 64: | ||
{{MatParam|$alphatestreference|float|Specifies the minimum color value of the alpha channel in which the effect is rounded to 255. A value of ".3" will create a thicker shape while a value of ".7" will create a thinner shape.}} | {{MatParam|$alphatestreference|float|Specifies the minimum color value of the alpha channel in which the effect is rounded to 255. A value of ".3" will create a thicker shape while a value of ".7" will create a thinner shape.}} | ||
==See | ==See also== | ||
*[[Physically Based Rendering]] | *[[Physically Based Rendering]] | ||
*[[Adding PBR to your mod]] | *[[Adding PBR to your mod]] | ||
*[[Adapting PBR Textures to Source]] | *[[Adapting PBR Textures to Source]] | ||
*[[Creating PBR materials]] | *[[Creating PBR materials]] |
Revision as of 01:59, 4 January 2024
It uses many different texture maps to create a more accurate simulation of light. Strata Source uses a modified version of Thexa4's PBR shader, which is capable of rendering lightmaps on brushes.



Supported Parameters
Basics
Appearance
$basetexturetransform
$color
$color2
$frame
$frame2
$srgbtint
Flashlight
$flashlighttexture
$flashlighttextureframe
PBR
$mraotexture
$mraoframe
$mraotexture2
$mraoframe2
$parallax
$mraoscale
$mraoscale2
$parallaxdepth
$parallaxcenter
$blendtintbymraoalpha
Paint
$paintsplatnormalmap
$paintsplatbubblelayout
$paintsplatbubble
$paintenvmap
Lighting
$bumpmap
$bumbframe
$bumpmap2
$bumpframe2
$normaltexture
$emissiontexture
$emissionframe
$emissiontexture2
$emissionframe2
$emissionscale
$emissionscale2
$hsv
$hsv_blend
Reflection
$envmap
$envmapparallax
$envmapframe
$envmaporigin
$bdrf_integration