$parallax: Difference between revisions
Jump to navigation
Jump to search
Warning:
Line 3: | Line 3: | ||
==Parallax Mapping== | ==Parallax Mapping== | ||
{{main|Parallax mapping}} | {{main|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 | 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 [[Bump map|Normal map]]. This can be done with a program like {{GIMP|3.1}}, and a tutorial on how to do this can be found [[Creating PBR materials#Embedding the Heightmap|here]] | ||
==Additional Parameters== | |||
<span id="parallaxcenter">{{MatParam|$parallaxcenter|float|Defines the height of the highest point of the texture. Essentially how close to the face the texture appears. This is necessary to adjust correctly, otherwise the material may appear to stretch unrealistically past the end of the brush. "0.5" is a good starting value. }}</span> | |||
<span id="parallaxdepth">{{MatParam|$parallaxdepth|float|Defines the lowest point of the texture relative to the height. Essentially the intensity of the heightmap. "0.1" is a good starting value.}}</span> |
Revision as of 21:48, 10 November 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