Table of Contents
PBR Texture Set
The PBR Texture Set node is designed as a one stop solution for using a set of PBR textures. It supports both the Metallic and Specular PBR workflows and even converts between both of them if required.
When used with the native Principled BSDF material, a Metallic workflow is preferred.
The node uses a single Projection connected to it for all the images it manages.
If no Projection is connected to the node, it will used the default UVs.
This pop-up allows you to save, load and manage presets of the node settings. This allows you to re-use PBR texture sets.
Load Texture Sets
This pop-up allows for the simple loading of PBR texture sets from files, using file name matching to autmatically assign them to texture slots.
This opens a file requester which has two modes of operation:
- If only one image is selected, the node will try to determine the base name of the file and then scans the location of the image for other files with the same base names. These will then be loaded and matched to the texture slots.
This allows you to load a complete set of PBR textures by only selecting one file.
- If more than one image is selected, the node will just try to load and match them to the texture slots.
Load Textures… will only load images into empty texture slots, unless Clear before Loading is enabled in the Settings.
Clear all Textures
Clears all texture slots.
This opens the settings window which allows you to change how the plugin will use the image file names to determine which texture slots they should be assigned to.
The settings are saved in the settings folder of the current LightWave 3D installation - not with the plugin itself. To manage multiple naming conventions, these settings can be saved as presets.
- Clear before Loading When enabled, all texture slots in the node will be cleared before a new set is loaded using Load Textures…
If it is disabled, new images will only be loaded in empty slots.
- Presets Allows you to load, save and manage the presets for the file name detection.
- Filename Base Separators Here you can add multiple characters that may serve as separators of the base file name to modifiers, which could include the pbr texture channel name, image numbers or UDIM numbers.
- Colour / Diffuse, Metallic, Roughness, etc. These determine file name fragments the plugin will look for to assign images to PBR texture slots. Multiple fragments may be separated by a semicolon (;).
The plugin will remove the base file name (if possible) before trying to match the fragments. If an images matches multiple fragments then it may be assigned to multiple slots.
Metallic / Specular
This determines if the current loaded textures conform to the Metallic or Specular PBR workflow. Node outputs will be converted as required.
If Metallic is enabled, the Base Colour, Metallic and Roughness textures will be visible.
If Specular is enabled, the Diffuse Colour1), Specular and Roughness textures will be visible.
Below this you will find a section of pop-ups to select images for the individual channels of a PBR texture set as well as related controls.
Unfortunately the node can't set the colour spaces for the individual images. We've included the recommended settings in <angled brackets>.
Base Colour (Metallic mode only) <sRGB>
The base colour for metallic texture sets. The alpha channel of this image is available as the Transparency output.
Diff. Colour (Specular mode only) <sRGB>
The albedo/diffuse colour for specular texture sets. The alpha channel of this image is available as the Transparency output.
Multiplies the Base / Diff. Colour by the Occlusion texture if present.
Metallic (Metallic mode only) <linear>
The metallness of the surface. This is a greyscale / scalar value. To allow for the use of a single image as an ORM (Occlusion, Roughness, Metallness) map, only the blue channel of the image is used (and displayed in the thumbnail).
Roughness (Metallic mode only) <linear>
The roughness of the surface. This is a greyscale / scalar value. To allow for the use of a single image as an ORM (Occlusion, Roughness, Metallness) map, only the green channel of the image is used (and displayed in the thumbnail).
Inverts the Roughness value, essentially (almost) turning it into a specularity value.
Specular (Specular mode only) <sRGB>
The Specularity of the material if a Specular workflow is used. This is a colour image.
Glossiness (Specular mode only) <linear>
The Glossiness of the material if a Specular workflow is used. This is a greyscale / scalar value. To allow for a combined Specular/Opacity map, this will use the alpha channel of the image if one exists, otherwise the luminance.
This is used by all PBR workflows. This is a greyscale / scalar value. To allow for the use of a single image as an ORM (Occlusion, Roughness, Metallness) map, only the red channel of the image is used (and displayed in the thumbnail). This image can be multiplied into the proper texture channels within the node but is also available as an node output.
This is used by all PBR workflows, the colours in this image are essentially added to the shaded material. Make sure that the separate Luminous value in the Principled BSDF material is set to 100% to make this visible.
This slot is for a normal map in tangent space.
This controls the strength of the applied normal map.
Inverts the X/Y/Z component of the normal map, in cases where the direction is wrong.
This is an optional displacement/height map which can also be used to compute a bump map.
Multiplies the displacement value.
Inverts the displacement.
The top part of this tab controls how the image maps are sampled by the node. These settings are identical to those used by the native 2D Image node or the native Image Sampler node.
Triplanar mapping is a type of cubic texture mapping with edge blending.
Please have a look at the Triplanar Mapper for a more elaborate explanation.
Use Triplanar Mapping
Activating this toggle enables Triplanar mapping, overring the Projection input and the use of the default UVs. It also enables the controls below used to control the mapping.
Controls not described here work identically to those used by the native 2D Image node.
This controls how hard/soft the blend of the planar projections is as the normals point away from the major axes.
|0% Blend||20% Blend||50% Blend||100% Blend|
We recommend a value between 5% and 20% for most uses.
This controls if the blending is computed in local or in world space. Please note, this only affects how the blending is computed, not how the images are projected.
Flip Reverse Side
If this option is enabled, the projected image will be flipped on the U texture coordinate axis on the negative side of the projection. This can be used to make images containing text be readable on the back side of a mesh as well.
Adds an offset to the computed UV coordinates. This can even be used to animate a texture across a surface.
The projection to use. The PBR Texture Set only performs the texture mapping and doesn't create the projection, the only exception being a Triplanar projection 2).
If nothing is connected here, the default UV will be used.
The following inputs are only used if Triplanar Mapping is enabled.
Most of the outputs correspond directly to a mapped image texture. Depending on the PBR mode of the node, some of these may be converted/synthesised from the loaded images.
For example, if a texture set using a Metallic workflow is loaded, the Specular and Glossiness outputs will be synthesised. Likewise, using a Specular workflow, the Metallic and Roughness outputs will be synthesised.
The brackets behind the outputs describe the native workflow for the outputs, the others are shared between both types of texturing workflows.
Base Colour (Metallic)
The base colour for a metallic workflow. If the node is set to use a specular workflow (which has a diffuse colour) this is converted automatically.
Base Luma (Metallic)
The luminance of the Base Colour.
Diffuse Colour (Specular)
The diffuse colour for a specular workflow. If the node is set to use a metallic workflow (which has a base colour) this is converted automatically.
Diffuse Luma (Specular)
The luminance of the Diffuse Colour.
This is derived from the alpha channel of the colour image.
The metallness of the texture set. If the set is using a specular workflow, this is computed from the specular colour and diffuse colour maps.
The roughness of the texture set. If the set is using a specular workflow, this is computed from the glossiness.
The specular colour of the texture set. If the set is using a metallic workflow, this is computed from the base colour and the metallness.
The glossiness colour of the texture set. If the set is using a metallic workflow, this is computed from the roughness.
The value extracted from the occlusion map.
The luminous colour map.
The displacement away from the surface, optionally multiplied.
The normal map in tangent space transformed using the current project. This can be applied directly to normal inputs.
The bump map which is computed from a displacement map if one is present in the texture set.
Mikaee Burman created a video that shows how to use PBR textures traditionally and how the PBR Texture Set speeds up using them.
Here is a small collection of links to free PBR Image set ressources:
This is the plugin of the month for November 2020, made possible by the finest patrons on Patreon.
We'd like to thank Antti Järvelä from the LightWave 3D Group in helping us figure out the specifics of the bump mapping code in LightWave 3D.