PBR (Strata shader): Difference between revisions
m (assuming this is a typo, I'm not sure if it's a typo on the wiki or in the engine itself; the Strata Source wiki lacks this information) |
(→Reflection: these are internal kvs created by vrad during compilation. The user should not manually set these.) |
||
Line 57: | Line 57: | ||
===Reflection=== | ===Reflection=== | ||
{{MatParam|$envmap|cubemap|Specular reflections}} | {{MatParam|$envmap|cubemap|Specular reflections}} | ||
{{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}} | ||
===Transparency=== | ===Transparency=== |
Revision as of 09:22, 2 August 2024
PBR
is a Pixel shader available in Strata Source.

- The {{{game}}} parameter is inconsistent with the name defined by the {{Strata}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Strata Source.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
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. It can be used on both brushes and models.



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