$parallax: Difference between revisions
Jump to navigation
Jump to search
Warning:
Note:This parameter is also available in Thexa4's PBR shader.
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{this is a|s2|game=Strata|name=$parallax|shader=PBR (Strata shader)}} It enables [[Parallax mapping]] on the surface of the PBR material. | {{this is a|s2|game=Strata|name=$parallax|shader=PBR (Strata shader)}} It enables [[Parallax mapping]] on the surface of the PBR material. | ||
This parameter also | {{note|This parameter is also available in [[Adding PBR_to_Your_Mod|Thexa4's PBR shader.]]}} | ||
==Parallax Mapping== | ==Parallax Mapping== |
Revision as of 02:45, 23 December 2023
$parallax
is a s2 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 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
Additional Parameters
$parallaxcenter
$parallaxdepth