Skip to content

# Realtime Light Estimation Plugin for Unity (Quest Demo)

Pre-release
Pre-release

Choose a tag to compare

@TheXRGuy-mw TheXRGuy-mw released this 10 Nov 18:37
· 2 commits to main since this release
8ee4908

This release showcases the Realtime Light Estimation Plugin for Unity, designed for the Meta Quest platform. The APK demonstrates key features of the plugin and serves as a hands-on testing environment.

Features Included in the Demo

  1. Mediaprojection Camera Feed

    • Displays the camera feed in a panel using Mediaprojection (credit to trev3d for the base implementation).
  2. Screen Recording & MP4 Encoding

    • Captures the camera feed and encodes it into MP4 format during runtime.
  3. Realtime Light Estimation

    • Captures a cubemap to create a realtime light probe updated based on the user's headset view direction.
    • Automatically adjusts the directional light rotation to align with the brightest spot in the cubemap.
    • Credit: Based on the implementation for HoloLens 1+2 (UWP) by Nick Klingensmith.
  4. Interactive Elements

    • Material Testing Spheres: Three spheres with varying PBR material properties (different roughness and metallic settings) to evaluate reflections and light behavior.
    • Ferrari Roma 3D Model: A highly reflective car model at 1:5 scale with a car shader. Includes a UI button to randomly change car colors.
    • All objects can be grabbed and transformed (excluding scaling).

Download the APK to test the demo and explore the potential of the plugin!