Releases: boatbomber/GlassmorphicUI
Releases · boatbomber/GlassmorphicUI
v0.5.1 Improved blurring around the edges
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!
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
vsViewportPointToRay
, a classic blunder.
Full Changelog: v0.4.1...v0.5.0
v0.4.1 Support for LocalTransparencyModifier
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
Added
GlassmorphicUI.forceUpdate
to perform an immediate and total refresh, useful for when background changes like teleporting location or closing a menuGlassmorphicUI.pauseUpdates
to pause updating glass that doesn't need to recalculate, like over a static backgroundGlassmorphicUI.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
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
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
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
v0.1.0 Initial release
Have fun!