PBR (Strata shader): Difference between revisions
(→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) |
m (→Reflection) |
||
Line 59: | Line 59: | ||
===Reflection=== | ===Reflection=== | ||
{{MatParam|$envmap|cubemap|Specular reflections}} | {{MatParam|$envmap|cubemap|Specular reflections}} | ||
{{MatParam|$envmapparallax|matrix|{{todo|What is this?}} Should be in this format: {{code|<nowiki>[1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1]</nowiki}} | {{MatParam|$envmapparallax|matrix|{{todo|What is this?}} Should be in this format: {{code|<nowiki>[1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1]</nowiki>}}}} | ||
{{MatParam|$envmapframe|int|Frame to use if material specified in $envmap is animated}} | {{MatParam|$envmapframe|int|Frame to use if material specified in $envmap is animated}} | ||
{{MatParam|$envmaporigin|vec3|The world space position of the env_cubemap being corrected}} | {{MatParam|$envmaporigin|vec3|The world space position of the env_cubemap being corrected}} |
Revision as of 10:17, 3 August 2023

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



Supported Parameters
Basics
$basetexture
$basetexture2
$flags
$flags_defined
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
$bumbframe2
$normaltexture
$emissiontexture
$emissionframe
$emissiontexture2
$emissionframe2
$emissionscale
$emissionscale2
$hsv
$hsv_blend
Reflection
$envmap
$envmapparallax
$envmapframe
$envmaporigin
$bdrf_integration
Transparency
%keywords - A list of keywords separated by commas. Examples of keywords are: architectural,brown,gray,grime,hanger,industrial,metal,modern,shed,urban,wall,floor