Skip to main content
Question

Glass Effect API missing light reflection border when applied via plugin


Yair_Zaks1

 

When applying the Glass effect via my plugin using Figma's Glass Effect API, the light reflection border that appears around elements when applying the effect directly through Figma's UI is missing. This creates inconsistency between plugin-applied and manually-applied Glass effects, even when using identical parameters.

Steps to Reproduce

  1. Create a frame in Figma
  2. Apply Glass effect directly via Figma's Effect panel - note the light reflection border around the element
  3. Clear the effect
  4. Apply the same Glass effect with identical parameters via the Liquid Glass plugin
  5. Observe that the light reflection border is missing in the plugin-applied version

Expected Behavior

The Glass effect applied via the plugin API should be visually identical to the same effect applied manually through Figma's UI, including the light reflection border.

Actual Behavior

The Glass effect applied via the plugin is missing the light reflection border that's visible when applying the effect manually, despite using identical parameters (light angle, intensity, refraction, depth, dispersion, and frost).


Technical Details

  • I've reviewed the Glass Effect API documentation thoroughly and found no parameter to control this border reflection
  • All other aspects of the effect (refraction, etc.) appear to be working correctly
  • The issue is consistent across different element types (frames, components, etc.)
  • Plugin is using the latest version of Figma's API

Questions

  1. Is there an undocumented parameter needed to enable the light reflection border?
  2. Is this a known limitation of the Glass Effect API?
  3. Can this be addressed in a future API update to ensure consistency between plugin-applied and manually-applied effects?

Additional Information

I've attached a screenshot showing the difference between the plugin-applied effect (left) and the manually-applied effect (right). The light reflection border is clearly visible in the right example but missing in the left.

lesliwanigarathne1980

Thanks for pointing this out! A clear breakdown like this really helps. Maybe try manually adjusting the layer’s blending mode or adding an outer glow in the plugin as a temporary fix. Hopefully the Figma team can address this API limitation soon.


Yair_Zaks1

Thanks ​@lesliwanigarathne1980, I will wait until Figma fix this API call issue, I don’t want to fake the effect (again haha)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings