Leia Unity SDK v0.6.19 released!

Happy Friday, Everyone!

The latest Leia Unity SDK v0.6.19 is now available and may be downloaded from https://www.leialoft.com/tools or Leia Dev Dashboard .

Enhancements

  • Leia Remote script now works with Leia Remote 2, which is download-able with our public release on our Developer Portal Leia Remote 2 offers the following upgrades from Leia Remote 1

    • More performance when streaming to Lit By Leia devices
    • No dependencies on Unity Remote.
  • Added support for Unity apps to enter ImmersiveMode on the Lume Pad. When the Lume Pad’s lights are in ImmersiveMode, some periodic imagery can appear 3D but 2D content can simultaneously appear 2D. This is especially valuable for displaying periodic imagery in 3D while you display text at full resolution.

  • LeiaMedia : Automatically select best meda tile per view when media tiles do not match user’s display. Fixed an ambiguous case where in 2D mode, LeiaMedia would show left most tile. Now in 2D, the left-leaning center tile is displayed.

  • Added AndroidLeiaDevice SetBacklightTransition and modified SetDisplayLightBalance to give users better control over 2D/3D light transitions. To transition backlight intensity, try using AndroidLeiaDevice :: SetDisplayLightBalance(1f…0f).

  • Added more shader variants to LeiaLoft_Slanted_8V. This takes longer to compile, but there are more debug and performance options that are automatically selected on devices where the more performant route can be taken.

  • Support setting a LeiaCamera’s ViewportRect. This allows devs to crop interlaced LeiaCamera content to fill just a section of the screen. Devs must set the LeiaCamera “Fill technique” to a ViewportRectFill technique depending upon their Unity verison and graphics effects stack. Generally simple Forward rendering without camera effects renders square pixels with TruncatedRectOfFullRenderTexture, and complex rendering using AA, HDR, post-processing, or Deferred rendering on some versions of Unity renders square pixels with FullRectOfTruncatedRenderTexture.

  • Added support for an Override profile which uses no LitByLeia firmware (and will not engage device backlight or retrieve display-appropriate parameters).These override builds can be run on common build platforms without LitByLeia support. To use an Override profile: create a file in /Assets/LeiaLoft/DisplayConfiguration_Override.json which contains json data for your Override profile, set Player Settings → Other Settings → Scripting Define Symbols to contain LEIALOFT_CONFIG_OVERRIDE, confirm that when you enter play mode in the editor, your Override profile is used to draw content, build to your device and confirm that when you play the build on your device, your Override profile is used to draw content

Bug Fixes

  • Hot-fixed an issue where AlignmentOffset was not applying a horizontal pixel translation. Changing AlignmentOffset.x now shifts views to the right (mod ViewCount).

Notes

The latest documentation is available at Unity SDK Guide - Developer Docs

Happy creating in Lightfield!

4 Likes