W3rlds Wiki
  • 🎉Getting started
    • What is W3rlds
    • Quick start
  • 🏗️CREATE AND MANAGE
    • Managing Worlds
      • Adjusting main settings
      • Adding mobile version and advanced limitations
      • Managing Avatars
      • Measure success with Analytics
    • Assets and Storage
    • Augmented Reality
      • Creating AR
      • Editing AR
      • Custom Viewer
  • 🎮Using Space editor
    • Getting Started
    • Setting the Lighting
    • Adding Assets in Metaverse
    • Creating Activities
      • Automate Animations
      • Activating Colliders
  • 👣Explore
    • Navigating with Avatars
    • Interacting in Worlds
    • Socialize
    • Hosting Events
  • 💡Content creation
    • World optimization guide
      • Naming
      • Colliders (Collisions)
      • Portals and spawn points
      • Geometry
      • Scale and positioning
      • Smoothing groups and custom vertex normals
      • UVs
      • Textures
      • Lighting
    • AR preparation guide
      • Occlusion channel
      • Bone animated AR model
      • File format limits
    • Creating Avatars
  • ⚙️Setting up your W3rlds
    • Accounts & Profiles
    • Choosing a subscription
    • Custom domains
  • Changelog & Announcements
    • Releases
      • 💡0.22 Release notes
      • 💡0.21 Release notes
      • 💡0.20 Release notes
      • 💡0.19 Release notes
      • 💡0.18 Release notes
      • 💡0.17 Release notes
      • 💡0.16 Release notes
      • 💡0.15 Release notes
      • 💡0.14 Release notes
      • 🔧0.13 Release notes
      • 🔧0.12 Release notes
      • 🔧0.11 Release notes
      • 🔧0.10 Team profiles and portals
      • 🔧0.9 Performance
      • 🔧0.8 Augmented reality
      • 🔧0.7 Continued usability improvements
      • 0.6 Creator web app
Powered by GitBook
On this page

Was this helpful?

  1. Content creation
  2. AR preparation guide

Occlusion channel

PreviousAR preparation guideNextBone animated AR model

Last updated 2 years ago

Was this helpful?

glTF is capable of storing a baked ambient occlusion map.

Currently, there is no arrangement of nodes that causes Blender 3D to use such a map in exactly the same way as intended in glTF. However, if the exporter finds a custom node group by the name of glTF Settings, and finds an input named Occlusion on that node group, it will look for an Image Texture attached there to use as the occlusion map in glTF. The effect need not be shown in Blender, as the system has other ways of showing ambient occlusion, but this method will allow the exporter to write an occlusion image to the glTF.

This can be useful to real-time glTF viewers, particularly on platforms where there may not be spare power for computing such things at render time.

glTF stores occlusion in the red (R) channel, allowing it to optionally share the same image with the roughness and metallic channels.

The easiest way to create the custom node group is to import an existing glTF model that contains an occlusion map, such as the or another existing model. A manually created custom node group can also be used.

💡
water bottle
A pre-baked ambient occlusion map, connected to a node that doesn’t render but will export to glTF.
This combination of nodes mimics the way glTF packs occlusion, roughness, and metallic values into a single image.