Skip to content

Releases: boatbomber/GlassmorphicUI

v0.5.1 Improved blurring around the edges

18 Aug 20:47
Compare
Choose a tag to compare

Fixed

  • Improved the blurring around the top and left edges
  • Small performance gains

Full Changelog: v0.5.0...v0.5.1

v0.5.0 Skybox support!

12 Apr 03:05
Compare
Choose a tag to compare

Added

  • Support for Skyboxes. If no skybox is found (or the skybox texture fails to load) then it falls back to the old estimation.

Fixed

  • 3D raycasts are no longer incorrectly offset by the topbar. ScreenPointToRay vs ViewportPointToRay, a classic blunder.

Full Changelog: v0.4.1...v0.5.0

v0.4.1 Support for LocalTransparencyModifier

10 Apr 00:39
Compare
Choose a tag to compare

Fixes

  • Upgrades PixelColorApproximation to 0.1.3 which supports LocalTransparencyModifier. This fixes the glass effect being wrong when in first person.

Full Changelog: v0.4.0...v0.4.1

v0.4.0 More control over updates, bugfixes

01 Apr 00:01
Compare
Choose a tag to compare

Added

  • GlassmorphicUI.forceUpdate to perform an immediate and total refresh, useful for when background changes like teleporting location or closing a menu
  • GlassmorphicUI.pauseUpdates to pause updating glass that doesn't need to recalculate, like over a static background
  • GlassmorphicUI.resumeUpdates to resume glass that was paused

Changed

  • Glass will now forceUpdate upon initialization, so that glass doesn't look wrong for the first second or two
    • This makes creation more expensive, so don't constantly create and destroy glass. Reuse glass when possible.

Fixed

  • Fixed interlacing accidentally doing the same channel twice in a row upon initialization
  • Fixed glass going nearly black when at a very wide aspect ratio
  • Fixed glass not updating at all if frame budget was expected to overflow
  • Fixed glass not cleaning up when tag got removed from ImageLabel

Full Changelog: v0.3.2...v0.4.0

v0.3.2 Support tags applied before runtime

11 Mar 23:40
Compare
Choose a tag to compare

Fixes

  • CollectionService tags applied before runtime are now correctly handled and apply glassy effects when the module is required

Full Changelog: v0.3.1...v0.3.2

v0.3.1 Tag support, blur radius control, bug fixes

10 Mar 09:26
Compare
Choose a tag to compare

Added

  • Support for modifying the blur radius
    GlassmorphicUI.setDefaultBlurRadius(radius) to set the default for all new images
    glassyimage:SetAttribute("BlurRadius", radius) to update the radius of an existing image
  • Automatic handling for any GuiObject with a GlassmorphicUI tag
  • Much better docs on how to use and modify the glass effect

Fixed

  • Fixes out of bounds errors when radius was greater than the size of the image
  • Protects against running setup on the same ImageLabel multiple times
  • No longer recomputes or rerenders glass that wasn't updated
  • Minor performance gains

Full Changelog: v0.2.0...v0.3.1

v0.2.0 Support for adding glass to existing instances

05 Mar 03:45
Compare
Choose a tag to compare

Added

function GlassmorphicUI.applyGlassToImageLabel(ImageLabel: ImageLabel): ()

Takes an existing ImageLabel and applies the glassmorphic effect to it.
Useful for integrating GlassmorphicUI with existing UI systems.

function GlassmorphicUI.addGlassBackground(GuiObject: GuiObject): ImageLabel

Takes an existing GuiObject (such as a Frame) and parents a glassy ImageLabel inside it.
The ImageLabel will have a very low ZIndex as to appear as the background of the GuiObject.
The GuiObject will be forced to have a BackgroundTransparency of 1, otherwise the effect would just show your GuiObject's background behind the glass.
Useful for integrating GlassmorphicUI with existing UI systems.

Fixed

  • Better adherence to frame budget by estimating the cost of the blur application when determining when to halt pixel processing
  • Returns a frozen table of public APIs to prevent tampering with internal data

v0.1.1 Support blurring over other blurs

04 Mar 04:13
Compare
Choose a tag to compare

You can now put blur windows over other blur windows!

image

v0.1.0 Initial release

04 Mar 03:48
Compare
Choose a tag to compare