PBR (Strata shader): Difference between revisions
No edit summary |
m (Fix GitHub link) |
||
Line 4: | Line 4: | ||
{{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}}.}} | ||
{{note|{{asrd|4}} with {{strata|4}}'s permission, have ported the shader. ( {{github| | {{note|{{asrd|4}} with {{strata|4}}'s permission, have ported the shader. ( {{github|ReactiveDrop/reactivedrop_public_src/commit/6fded2eb012b5f832e8cb5226c2e781d387cec08|Commit link}} )}} | ||
==Supported Parameters== | ==Supported Parameters== | ||
<!-- list and descriptions from P2CE shaders.json --> | <!-- list and descriptions from P2CE shaders.json --> |
Revision as of 07:46, 2 June 2025
PBR
is a Pixel shader available in Strata Source. 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