This article's documentation is for anything that uses the Source engine. Click here for more information.

PBR (Strata shader): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 5: Line 5:
{{note|Similar unrelated PBR-based shaders are also used in {{tfbranch|2}} and {{Source2|2}}.}}
{{note|Similar unrelated PBR-based shaders are also used in {{tfbranch|2}} and {{Source2|2}}.}}
{{note|{{asrd|2}}, with {{strata|2}}'s permission, have ported the shader. ( {{github|ReactiveDrop/reactivedrop_public_src/commit/6fded2eb012b5f832e8cb5226c2e781d387cec08|Commit link}} )}}
{{note|{{asrd|2}}, with {{strata|2}}'s permission, have ported the shader. ( {{github|ReactiveDrop/reactivedrop_public_src/commit/6fded2eb012b5f832e8cb5226c2e781d387cec08|Commit link}} )}}
{{Note|This article may become out of date quite frequently due to Strata's active development. If something is not present here, check [https://wiki.stratasource.com/material/reference/PBR the Strata wiki's page].}}
{{Note|This article may become out of date quite frequently due to Strata's active development. If something is not present here, check [https://wiki.stratasource.org/material/reference/PBR the Strata wiki's page].}}
==Supported Parameters==
==Supported Parameters==
<!-- list and descriptions from P2CE shaders.json -->
<!-- list and descriptions from P2CE shaders.json -->

Revision as of 21:17, 17 July 2025

English (en)Русский (ru)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

PBR is a Pixel shader available in Strata Source Strata Source. It uses many different texture maps to create a more accurate simulation of light. Strata Source 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.

Note.pngNote:Similar unrelated PBR-based shaders are also used in Titanfall branch Titanfall branch and Source 2 Source 2.
Note.pngNote:Alien Swarm: Reactive Drop Alien Swarm: Reactive Drop, with Strata Source Strata Source's permission, have ported the shader. ( Commit link Commit link )
Note.pngNote:This article may become out of date quite frequently due to Strata's active development. If something is not present here, check the Strata wiki's page.

Supported Parameters

Basics

$basetexture $basetexture2

Appearance

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

Flashlight

$flashlighttexture $flashlighttextureframe

PBR

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

Portal 2: Community EditionPaint

$paintsplatnormalmap $paintsplatbubblelayout $paintsplatbubble $paintenvmap

Lighting

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

Reflection

$envmap $envmapframe

Transparency

$alpha $alphatestreference

See also