PBR (Strata shader): Difference between revisions
Jump to navigation
Jump to search
Note:Similar unrelated PBR-based shaders are also used in
Titanfall branch and
Source 2.
Confirm:Which games use $useparallax and which ones use $parallax? Are they the same?
SirYodaJedi (talk | contribs) m (Limit scope) |
mNo edit summary |
||
Line 7: | Line 7: | ||
{{MatParam|$surfaceprop|string|Links the surface to a set of physical properties (footstep sounds, bullet penetration {{confirm}}, etc)}} | {{MatParam|$surfaceprop|string|Links the surface to a set of physical properties (footstep sounds, bullet penetration {{confirm}}, etc)}} | ||
==Adjustment== | ===Adjustment=== | ||
{{MatParam|$basetexturetransform|matrix|Transforms the texture before use in the material. This does not affect [[lightmaps]] on the surface.}} | {{MatParam|$basetexturetransform|matrix|Transforms the texture before use in the material. This does not affect [[lightmaps]] on the surface.}} | ||
Line 38: | Line 38: | ||
{{MatParam|$useenvambient|boolean|Makes the reflections use the lowest mip level of the cubemap for ambient light instead of the ambient cubes. Can cause artifacts with moving props.}} | {{MatParam|$useenvambient|boolean|Makes the reflections use the lowest mip level of the cubemap for ambient light instead of the ambient cubes. Can cause artifacts with moving props.}} | ||
==Transparency== | ===Transparency=== | ||
{{MatParam|$alpha|float|Scales the opacity of an entire material.}} | {{MatParam|$alpha|float|Scales the opacity of an entire material.}} | ||
{{MatParam|$alphatest|bool|Specifies a mask to use to determine binary opacity.}} | {{MatParam|$alphatest|bool|Specifies a mask to use to determine binary opacity.}} |
Revision as of 11:32, 8 July 2023

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



Supported Parameters
Basics
Adjustment
PBR
$mraotexture
$model
$speculartexture

$parallax
$useparallax
$parallaxdepth
$parallaxcenter
Lighting
$bumpmap
$normaltexture
$emissiontexture
Reflection
$envmap
$envmapcontrast
$envmapsaturation
$envmaptint
$useenvambient
Transparency
$alpha
$alphatest
$alphatestreference
$translucent
%keywords - A list of keywords separated by commas. Examples of keywords are: architectural,brown,gray,grime,hanger,industrial,metal,modern,shed,urban,wall,floor