Second Life PBR – Resources

Update – The Linden Lab PBR Viewer is now the default viewer for Second Life [Official Launch Post]. Firestorm also has an Alpha PBR Test viewer available through the inworld “Phoenix-Firestorm Preview Group”.

All Second Life main grid regions support PBR materials. OpenSim Dev version 0.9.3.0 from 2-Jan-2024 has full support for materials.

From https://wiki.secondlife.com/wiki/PBR_Materials

Physically Based Rendering (PBR) and glTF materials use is coming to has arrived in Second Life and OpenSim. This blog post is to gather resources relevant to using PBR.


Second Life University – PBR Materials with Runitai and Kyle Linden – 9-Feb-2022

PBR Tutorials and Guides

Sample PBR Materials

AmbientCG PBR Material MegapackSecond Life Marketplace Materials

HDRI Environments and Colour Checking

A free in-world “Color Checker Chart” is available from Jenna Huntsman on the Second Life Marketplace to help check colour under various lighting situations…
https://marketplace.secondlife.com/p/PBR-MacBeth-Color-Checker-Chart/25493856

PBR Specifications for Second Life

  • Base Color [RGB] + Transparency [A]
  • Occlusion [R] / Roughness [G] / Metallic [B] – 3 unrelated grayscale images stored in 3 different colour channels of an RGB texture.
  • Emissive [RGB]
  • Normal [RGB] – Uses Mikkelsen Tangent Space (MIKKT) as usually used in Unity.

See https://wiki.secondlife.com/wiki/PBR_Materials#PBR_Material_Composition. In order to be compliant with the GLTF specification and conform to industry norms, Alpha blending and atmospherics have been moved from sRGB Colour Space to Linear Colour Space

Creating PBR Materials in Blender

Create your materials within Blender using Principled BSDF Shader Nodes. Export them according to the official Blender Documentation for glTF materials. Second Life does not support BSDF Clearcoat, Subsurface, Anisotropy or Transmission parameters at this time.

PBR Materials Components - Image from blender.org
Sample glTF Mesh Object with PBR Materials – Water Bottle
WaterBottle with PBR Material

Note tint of Emissive slot should be white to work. It is black in the image above.

Other PBR Creation Tools

  • Material Maker – Free PBR Creation Tool – Export using the Godot 4 ORM preset.
  • glTF Packer – Tool from Ai-ai cap’n!.

Initial Tests of PBR Materials on Second Life Beta Test Grid (Aditi)

Initial Tests of PBR Materials on Aditi - 9-Feb-2023

Reflection Probes

Reflection Probes are a key component for making PBR work. They act as the source of the environmental reflections used on surfaces. The details are still in development and may change, but the idea is that most reflection probes will be added automatically by the underlying system, but that creators and builders can add specific probes to tailor the environment to specific contexts, such as having separate reflection probes for each room in a building. Probes can be a box or spherical with a defined X,Y,Z size. Once a reflection probe is set up it turns invisible and will not normally be clickable or selectable so other normal objects can easily be touched or edited. But reflection probes can be highlighted via the Build -> Options menu (they will show as yellow volumes) and the same menu allows for the reflection probes to become clickable to edit.

An object in world can be turned into a reflection probe via the “Features” tab in the build tool while editing the object. Some choices of what is reflected and how often in the object can be chosen and objects within a space near the origin of the object can be excluded (via “near clip”).

Previous Mesh Content Checks

I tested out some of my previous complex mesh models, which use the old style texturing and shininess.

Second Life University – How to Create PBR Materials

Khronos glTF Test Viewer

https://github.khronos.org/glTF-Sample-Viewer-Release/ [GitHub Code]

Linden Lab has suggested that if content looks good in the Khronos GLTF Sample Viewer or Adobe Substance Painter but looks wrong when you import it into Second Life, please stop and file a bug immediately. Their goal is to adhere to the glTF specification. Please do not modify content in Second Life to work around situations where the Viewer does not adhere completely to the glTF spec.

Khronos glTF Test Viewer - WaterBottle Khronos glTF Test Viewer - Supercar - Statistics

Model Viewer (modelviewer.dev) – glTF/GLB Viewer and Validator

https://modelviewer.dev/editor

ModelViewer.dev - Supercar.glb ModelViewer.dev - BRL.glb

This entry was posted in Second Life and tagged , . Bookmark the permalink.

2 Responses to Second Life PBR – Resources

  1. bat says:

    Rosie Helendale Second Life Vlog – 23-Aug-2023
    The FUTURE of SECOND LIFE GRAPHICS – PBR alpha FIRESTORM VIEWER RELEASED
    https://www.youtube.com/watch?v=9pYjIa7Uf7E

  2. bat says:

    Inara Pey’s usual excellent blog posts now includes a summary of PBR and a list of resources is available at https://modemworld.me/2023/11/28/a-simple-introduction-to-pbr-materials-reflection-probes-gltf-in-second-life/

Comments are closed.