Skip to content

[Graphics] Switch to physical light units & Physical camera units #3675

Open

Description

@icauro

Stride should support documented physical light units and calibrated camera exposure.
This can be achieved with automatic migration of existing assets, so equivalent behavior can be preserved.

This feature give artists a predictable relationship between lighting authored in DCC applications and lighting rendered in Stride.
Importers could convert documented quantities instead of relying on arbitrary intensity multipliers and manual adjustments.
For example, glTF already specifies candela for point and spot lights and lux for directional lights.
glTF specification

A defined lighting scale would also make it easier to validate Stride against offline reference renders from Mitsuba etc.
With matched geometry, materials, light distributions, and exposure, developers could compare direct lighting and material response quantitatively, then evaluate the errors introduced by real-time approximations.
This would help identify normalization bugs, prevent rendering regressions, and evaluate future lighting improvements.

The feature should document world scale, light normalization, color conventions, and exposure calibration. Existing scenes, prefabs, and compositor settings should receive versioned migrations, with clear guidance for scripts and custom shaders.

The suggested values below are examples for new content, not conversions of today’s Intensity = 1. Migration factors would be established through calibration.

Light/source Current Stride data Suggested physical data Example value Editor presentation
Directional / sun Unitless Intensity, default 1 Illuminance in lux 100,000 lx Illuminance [100000] lx
Point Unitless Intensity, default 1 Luminous intensity in candela; optional lumen input 100 cd Intensity [100] [cd â–¾]
Spot Unitless Intensity, default 1 Luminous intensity in candela; lumen conversion accounts for cone profile 1,000 cd Intensity [1000] [cd â–¾], followed by cone settings
Area light — future feature No standard built-in area light Luminous flux in lumens, or luminance in cd/m² 800 lm Output [800] [lm ▾], with dimensions
Emissive material Color/texture × relative intensity Luminance in cd/m², also called nits 200 cd/m² Emission luminance [200] cd/m²
Skybox / HDRI Environment texture × intensity Calibrated environment values plus a dimensionless gain Calibrated HDRI, gain 1× Environment, Calibration, Gain [1] ×
Ambient Color × intensity Keep as an artistic gain; use a calibrated uniform environment for physical ambient illumination Gain 1× Ambient gain [1] ×
Voxel GI Intensity plus bounce/specular scales Preserve the lighting scale through GI; retain dimensionless adjustment gains Gain 1× Indirect lighting gain [1] ×

Candela for point/spot lights and lux for directional lights would align with glTF’s existing definitions.

Camera exposure

Setting Current Stride Suggested data Editor presentation
Manual exposure Tone-map brightness adjustment in stops Calibrated EV100, or equivalent photographic settings Exposure input [EV100 / Camera settings]
Aperture No photographic exposure input on camera f-number, e.g. 16 Aperture [f/16]
Shutter speed No photographic exposure input on camera Seconds, e.g. 0.008 Shutter speed [1/125] s
Sensitivity No photographic exposure input on camera ISO, e.g. 100 ISO [100]
Exposure compensation Existing exposure adjustment provides related behavior Signed stops, e.g. +1 Compensation [+1.0] EV
Automatic exposure Image-luminance-based adaptation Calibrated metering with EV100 limits Metering, Min/Max EV100, Adaptation speed

EV100 and camera settings would be two ways to enter the same exposure, within one rendering system. Higher EV100 darkens a fixed scene; positive exposure compensation brightens it.

Interface and serialization

  • Always display units beside values.
  • Changing the unit dropdown converts the value while preserving light output.
  • Store a documented canonical quantity per light type.
  • Define 1 scene unit = 1 metre for physical lighting.
  • Keep range/culling distance separate from emitter size.
  • Upgrade old assets once through asset versions.
  • Document migration requirements for scripts, animated properties, and custom shaders.

Further read:
https://google.github.io/filament/main/filament.html#lighting
https://google.github.io/filament/main/filament.html#imagingpipeline/physicallybasedcamera

Activity

  1. added
    enhancement
    on Oct 21, 2026
  2. icauro commented on Oct 21, 2026

    @icauro
    ContributorAuthor

    Also related issue #1262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions