Skip to main content

Lightbox Viewer

2.5.0-beta.6​

  • Add support for Light Volumes V3 (3.0.1), contributed by ZenithVal.
    • Add backwards compatibility for Light Volumes 2.1.3.
  • Made by Claude Sonnet 5.5 Lightbox Viewer will use the result of Use NDMF Preview, if it is installed.
  • Made by Claude Opus 5.5 Window now uses UI Toolkit.
  • Made by Claude Opus 5.5 Vertical Displacement is now in the left column.
  • Made by Claude Opus 5.5 Add language selector, with machine translations.

Optimizations​

  • Made by Claude Opus 5.5 Previously, Lightbox Viewer would always refresh in Edit Mode. Now, it should only update on changes.
    • If you need to test animated shaders, check Refresh every frame.
  • Made by Claude Opus 5.5 Fix editing a material in Edit Mode no longer re-creates a preview clone every time.
  • Made by Claude Sonnet 5.5 Preview clone now only instantiate renderers, lights, anchor overrides, root bone, and bone transforms. Previously, it cloned the entire object and deleted as many components from it.
  • Made by Claude Opus 5.5 Preview clone only partially updates when one of its members is modified, instead of cloning the entire object again.
  • Made by Claude Opus 5.5 Fix memory use growing over time: render textures, and the material used for camera roll, are now released.
  • Made by Claude Opus 5.5 Some objects created by Lightbox Viewer are cached between renders instead of being recreated every time.
  • Made by Claude Opus 5.5 We should no longer render when a change is made to an object that is supposed to have no visual effect on the result.
  • Made by Claude Opus 5.5 Don't lookup every assembly every time the window opens.

Fixes​

  • Made by Claude Opus 5.5 Fix compilation errors in Unity 2022.3 when URP 14 is installed.
  • Made by Claude Opus 5.5 Fix objects listed in Hide In Renders that were already inactive being activated after rendering.
  • Made by Claude Opus 5.5 Fix empty entry in Hide In Renders leaving scene lights, reflection probes and lightboxes disabled.
  • Made by Claude Opus 5.5 Fix error when no Scene view is open (for example, when only the Game view is visible in Play Mode).
  • Made by Claude Opus 5.5 Fix UI interactions that aren't saved were incorrectly triggering a save.

2.5.0-beta.5​

Fix Lightbox Viewer should now be compatible with Unity 6.5 (e.g. Basis Framework projects), as instanceId can no longer be used.

2.5.0-beta.4​

Add option to force anti-aliasing. This may help in some standalone project setups (e.g., Basis Framework projects).

2.5.0-beta.3​

In Edit Mode, hide objects that are hidden by the visibility icon in the scene hierarchy tab.

Fix object change events should no longer trigger in Play Mode, which was causing errors in the logs.

2.5.0-beta.2​

Fix an issue with URP Adaptive Probe Volumes in additive scenes that was causing lilToon 2.3.0 previews to be incorrect.

  • Fix default lighting data was negatively affecting Adaptive Probe Volumes in additive scenes:
    • Default scenes have a default lighting data asset assigned to it.
    • This default lighting data causes the render to look different, and this is most noticeable on lilToon 2.3.0.
    • Fix by checking if the scene currently uses the default lighting data. If it does, set it to null for the duration of the lightbox usage.
    • This should fix https://github.com/hai-vr/lightbox-viewer-urp/issues/1 in Lightbox Viewer URP.

2.5.0-beta.1​

Lightbox Viewer is now compatible with:

  • BIRP Light Probes.
  • BIRP VRCLV.
  • URP Adaptive Probe Volumes.
  • URP Light Probes.

Add support for URP Light Probes:

  • If URP is the current render pipeline, switch to a different scene if the Quality settings use Light Probes instead of Adaptive Probe Volumes.
  • If URP is in the project, detect when Quality settings change.

Unlike suggested in previous alpha versions, this is still not compatible with macOS, as the compatibility attempt has failed.

Previous change logs from alpha versions repeated in chronological order, without macOS changes:

From 2.4.1-alpha.1:

  • Change Edit mode strategy for performance:
    • Previously, Edit Mode was copying the avatar every frame, so that we don't accidentally cause the avatar to be modified.
    • This change now copies the avatar to a hidden GameObject in the hierarchy and marked non-saved, if the reference to the Object To View does not change.
    • Use object change events to detect when anything changes in the scene. If there is any change that pertains to a non-transform, we destroy the copied object and create a new one.
    • This copied object is moved 10_000 units downwards between render cycles.
    • Don't disable the original avatar between render cycles, because enabling the avatar is slow.
    • In the copy, remove the Animators, because they take time to bind and we don't need them.

From 2.4.1-alpha.2:

  • Add support for URP projects:
    • Detect when the project is BIRP.
    • If it is not BIRP, don't suggest installing the Post-Processing V2 package.
    • If it is not BIRP, load the URP scene, even if the Light Volumes package is installed.

From 2.5.0-alpha.2:

  • Attempt an optimization that removes the need for copying the texture from the GPU to the CPU.

From 2.5.0-alpha.3:

  • Try to fix an issue where the depth was affecting how the view was rendered in a Unity 6.2 Basis project.

2.5.0-alpha.3​

  • Try to fix an issue where the depth was affecting how the view was rendered in a Unity 6.2 Basis project.

2.5.0-alpha.2​

Attempt an optimization that removes the need for copying the texture from the GPU to the CPU.

This could also improve support for Metal on macOS, as the change introduced in 2.5.0-alpha.1 may have been ineffective.

2.5.0-alpha.1​

Try to support systems without Async GPU readback:

  • Try to support Metal on macOS, which does not appear to have Async GPU readback.

From 2.4.1-alpha.2:

  • Add support for URP projects:
    • Detect when the project is BIRP.
    • If it is not BIRP, don't suggest installing the Post-Processing V2 package.
    • If it is not BIRP, load the URP scene, even if the Light Volumes package is installed.

From 2.4.1-alpha.1:

  • Change Edit mode strategy for performance:

    • Previously, Edit Mode was copying the avatar every frame, so that we don't accidentally cause the avatar to be modified.
    • This change now copies the avatar to a hidden GameObject in the hierarchy and marked non-saved, if the reference to the Object To View does not change.
    • Use object change events to detect when anything changes in the scene. If there is any change that pertains to a non-transform, we destroy the copied object and create a new one.
    • This copied object is moved 10_000 units downwards between render cycles.
    • Don't disable the original avatar between render cycles, because enabling the avatar is slow.
    • In the copy, remove the Animators, because they take time to bind and we don't need them.
  • Fix Vertical Displacement could not be reset.

2.4.1-alpha.2​

Add support for URP projects:

  • Detect when the project is BIRP.
  • If it is not BIRP, don't suggest installing the Post-Processing V2 package.
  • If it is not BIRP, load the URP scene, even if the Light Volumes package is installed.

2.4.1-alpha.1​

  • Change Edit mode strategy for performance:

    • Previously, Edit Mode was copying the avatar every frame, so that we don't accidentally cause the avatar to be modified.
    • This change now copies the avatar to a hidden GameObject in the hierarchy and marked non-saved, if the reference to the Object To View does not change.
    • Use object change events to detect when anything changes in the scene. If there is any change that pertains to a non-transform, we destroy the copied object and create a new one.
    • This copied object is moved 10_000 units downwards between render cycles.
    • Don't disable the original avatar between render cycles, because enabling the avatar is slow.
    • In the copy, remove the Animators, because they take time to bind and we don't need them.
  • Fix Vertical Displacement could not be reset.

2.4.0​

  • Add Collections of lightboxes. Users may now switch from the default six lightboxes to other more specialized ones.
    • Add special lightboxes specifically for Light Volumes. This requires the Light Volumes package to be installed.
    • Expose the Spotlight Cookie lightbox that was previously hidden.
  • Previously, lights inside the object being viewed were disabled. This is no longer the case by default.
  • Add option to disable lights inside the object being viewed.
  • Add option to support shaders that require a Depth Texture.
    • This uses Poiyomi's DepthGet light settings, but repackaged with a different GUID to avoid installation conflicts.
  • The Advanced menu is now a sidebar.
  • Some settings are now saved editor-wide, instead of being reset when the Lightbox Viewer window is closed.
    • This includes Counter Rotate, Post Processing, Vertical Displacement, Mute Lights Inside Object, Support Depth Texture.

Unity_a6UfNnk6f1.png

2.4.0-beta.2​

  • Fix Play Mode did not show collections when Reload Domain remains default.

2.4.0-beta.1​

  • Add Collections of lightboxes. Users may now switch from the default six lightboxes to other more specialized ones.
    • Add special lightboxes specifically for Light Volumes. This requires the Light Volumes package to be installed.
    • Expose the Spotlight Cookie lightbox that was previously hidden.
  • Previously, lights inside the object being viewed were disabled. This is no longer the case by default.
  • Add option to disable lights inside the object being viewed.
  • Add option to support shaders that require a Depth Texture.
    • This uses Poiyomi's DepthGet light settings, but repackaged with a different GUID to avoid installation conflicts.
  • The Advanced menu is now a sidebar.
  • Some settings are now saved editor-wide, instead of being reset when the Lightbox Viewer window is closed.
    • This includes Counter Rotate, Post Processing, Vertical Displacement, Mute Lights Inside Object, Support Depth Texture.

2.3.0​

Add support for Light Volumes if it is installed in the project.

The lightboxes themselves do not change, so the differences are subtle. The Pink scene is the most notable because the left hand will be lit pink and the right hand will be lit purple.

warning

If you want the previews to use light volumes, please understand that unlike avatar uploads, it is not sufficient to have a compatible shader like lilToon 1.10; you need the actual Light Volumes package installed in your avatar project.

With light volumes: Unity_UWaWszgU9p.png

Without light volumes: Unity_BuaFhsYHjq.png

2.3.0-beta.2​

Fix "Unknown error occurred while loading LightingData.asset":

  • Re-bake scene with a separate .lighting file.
  • This should address the "Unknown error occurred while loading LightingData.asset" error.

2.3.0-beta.1​

Add support for Light Volumes if it is installed in the project.

The lightboxes themselves do not change, so the differences are subtle. The Pink scene is the most notable because the left hand will be lit pink and the right hand will be lit purple.

With light volumes: Unity_UWaWszgU9p.png

Without light volumes: Unity_BuaFhsYHjq.png

  • Add scene to support Light Volumes: https://github.com/REDSIM/VRCLightVolumes
    • Scene is baked differently from main scene, as it uses Progressive GPU instead of CPU.
    • Scene has inactive lightboxes with Light Volumes disabled.
  • This scene is selected by default if the Light Volumes package version 0.7.2 or higher is installed.

2.2.0​

Try to improve speed in Edit mode by removing all MonoBehaviours from the copy:

  • Try to improve the runtime speed in Edit mode by removing all MonoBehaviours from the copy, so that the OnEnable/OnDestroy don't get invoked.
  • This is done by parenting the copy to a disabled parent before removing all MonoBehaviours from the copy.

2.1.0​

Re-bake lighting of Lightbox scene in Unity 2022:

  • The current lightmap seems to misbehave in Unity 2022, especially the White box.
  • Lighting has been re-baked in Unity 2022.
  • The package is now classified as being a Unity 2022.3 package.

2.0.2​

  • Fix an issue where avatars would fail to upload.
    • Fix scripts now compile when building.

2.0.1​

  • First public VCC release of Lightbox Viewer.
    • VCC install removes previous installations of this tool from Assets/
    • This tool now belongs in Packages/