Hubs by Mozilla

Hubs by Mozilla

  • Docs
  • GitHub
  • Help

›Spoke Documentation

Introduction

  • Welcome
  • Getting Started With Hubs
  • Building Scenes with Spoke
  • Creating Custom Avatars
  • Hosting Events in Hubs

Hubs Documentation

  • Create and Join Rooms
  • Hubs Features
  • Sharing Avatar Links Privately
  • User Settings
  • Room Settings
  • Controls
  • Discord Bot
  • Troubleshooting
  • FAQ

Spoke Documentation

  • Create Project
  • User Interface
  • Spoke Controls
  • Adding Content
  • Architecture Kit
  • Grid
  • Skyboxes
  • Lighting and Shadows
  • Physics and Navigation
  • Publish Scenes

For Creators

  • Advanced Avatar Customization
  • Linking Hubs Rooms
  • Using the Blender glTF Exporter
  • Optimizing Scenes

For Developers

  • System Overview
  • Build a Custom Client
  • Contributing
  • Hubs Query String Parameters

Hubs Cloud

  • Introduction
  • Getting Started
  • FAQ
  • Importing Content
  • Asset Packs
  • Customizing Look & Feel
  • Customizing Themes
  • Managing Content
  • Adding Administrators
  • Limiting Access
  • Recipe: Permissive Rooms
  • Recipe: 3rd Party Integrations
  • Recipe: Enable Scene Editor
  • Recipe: Custom SMTP
  • Recipe: Discord Bot
  • Advanced: SSH Access
  • Advanced: Content CDN
  • Custom Clients
  • Advanced: Brand Guidelines

Hubs Cloud AWS

  • AWS Quick Start
  • Domain Recipes
  • Using an Existing Domain
  • Using an Existing Email Provider
  • Updating the Stack
  • Backup and Restore
  • AWS Troubleshooting
  • Known Issues
  • System Architecture
  • Costs and Minimizing Costs Information
  • Estimating Cost Charts (Alpha)
  • Estimating CCU Limits

Hubs Cloud DigitalOcean

  • DigitalOcean Quick Start
Edit

Lighting and Shadows

Lights

Lighting can change the mood of your scene. In addition to Skyboxes, lighting can come from the following sources:

LightEffect
Ambient LightIlluminates all objects in your scene
Hemisphere LightIlluminates your scene from directly overhead
Directional LightIlluminates the entire scene, but emits along a single direction
Spot LightEmits along a direction, illuminating objects within a cone
Point LightEmits in all directions from a single point

Shadow Settings

In the propertie panel for the various lights you will find shadow settings. The settings available vary depending on the type of light.

SettingEffect
Cast shadowsToggle on/off whether your light will cast shadows. Note you can also set objects to receive shadows
Shadowmap resolutionResolution of the shadowmap, if you turn it down the resolution will be more blocky (or sometimes soft looking), if you turn it up it will increase the resolution but will make your scene more expensive to run
Shadow BiasA per pixel offset of your shadow, Use to fine tune the position of your shadow. This can be used to help reduce the appearance of shadow acne
Shadow RadiusSize of the shadow.

Lighting performance on mobile

You may notice that the lighting in your scene is different on desktop than on mobile devices. Some lighting features are disabled on mobile for performance reasons.

← SkyboxesPhysics and Navigation →
  • Lights
    • Shadow Settings
  • Lighting performance on mobile
Hubs by Mozilla
Docs
IntroductionHubs DocumentationSpoke DocumentationFor CreatorsFor DevelopersHubs Cloud
Community
Discord ChatTwitter
More
HubsSpokeGitHub
Copyright © 2022 Mozilla