PBR (Strata shader)

From Valve Developer Community
Revision as of 10:15, 3 August 2023 by Equalizer5118 (talk | contribs) (→‎Supported Parameters: Updated list to match actual parameters from shaders.json. Would upload file, however P2CE devs dont want filesharing until mod gets released so not yet)
Jump to navigation Jump to search
English (en)Русский (ru)Translate (Translate)
Shader-ball.png

PBR It uses many different texture maps to create a more accurate simulation of light.

Note.pngNote:Similar unrelated PBR-based shaders are also used in Titanfall branch Titanfall branch and Source 2 Source 2.

Supported Parameters

Basics

$basetexture $basetexture2 $flags

$flags_defined
Todo: What do flags do?

$flags2 $flags_defined2

Appearance

$basetexturetransform $color $color2 $frame $frame2 $srgbtint

Flashlight=

$flashlighttexture $flashlighttextureframe

PBR

$mraotexture $mraoframe $mraotexture2 $mraoframe2 $parallax $mraoscale $mraoscale2 $parallaxdepth $parallaxcenter $blendtintbymraoalpha

Portal 2: Community EditionPaint

$paintsplatnormalmap $paintsplatbubblelayout $paintsplatbubble $paintenvmap

Lighting

$bumpmap $bumbframe $bumpmap2 $bumbframe2 $normaltexture $emissiontexture $emissionframe $emissiontexture2 $emissionframe2 $emissionscale $emissionscale2 $hsv $hsv_blend

Reflection

$envmap

{{MatParam|$envmapparallax|matrix|
Todo: What is this?
Should be in this format: <nowiki>[1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1]</nowiki

$envmapframe $envmaporigin $bdrf_integration

Transparency

$alpha $alphatestreference

%keywords - A list of keywords separated by commas. Examples of keywords are: architectural,brown,gray,grime,hanger,industrial,metal,modern,shed,urban,wall,floor

See Also