$parallax: Difference between revisions
Jump to navigation
Jump to search
Note:This parameter is also available in Thexa4's PBR shader.
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{stub}}[[File:brick heightnormal.png|300px|thumb|right|An example of a [[Bumpmap]] with a [[Heightmap]] embedded in the alpha channel]][[File:Thexa4 pbr parallax 1.png|thumb|300px|right|Parallax enabled.]][[File:Thexa4 pbr parallax 0.png|300px|thumb|right|Parallax Disabled.]] | {{stub}}[[File:brick heightnormal.png|300px|thumb|right|An example of a [[Bumpmap]] with a [[Heightmap]] embedded in the alpha channel]][[File:Thexa4 pbr parallax 1.png|thumb|300px|right|Parallax enabled.]][[File:Thexa4 pbr parallax 0.png|300px|thumb|right|Parallax Disabled.]] | ||
{{this is a|shader parameter|game=Strata|name=$parallax|shader=PBR (Strata shader)}} It enables [[Parallax mapping]] on the surface of the PBR material. | {{this is a|shader parameter|game=Strata Source|name=$parallax|shader=PBR (Strata shader)}} It enables [[Parallax mapping]] on the surface of the PBR material. | ||
{{note|This parameter is also available in [[Adding PBR_to_Your_Mod|Thexa4's PBR shader.]]}} | {{note|This parameter is also available in [[Adding PBR_to_Your_Mod|Thexa4's PBR shader.]]}} |
Revision as of 18:54, 14 May 2025
$parallax
is a material shader parameter for the PBR (Strata shader) shader available in Strata Source. It enables Parallax mapping on the surface of the PBR material.

Parallax Mapping
Main article: Parallax mapping
Parallax mapping is a shading technique used to give perceived depth to brushes with this applied. In order to have this work correctly, you will need to have a Heightmap embedded in the alpha channel of your Normal map. This can be done with a program like GIMP, and a tutorial on how to do this can be found here
Parameters
$parallax
$parallaxcenter
$parallaxdepth