You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
See outline effect through transparent objects #320
Hello @vanruesc ! Thanks again for this awesome library.
I´m trying to create a set of transparent panels in a row, where each one of them has an outline glow effect.
I want to see the outline glow of the back panels through the front panels and control their glow, as they were independent/different layers. I´m only able to see the front panel glow or the sum of both as shown of the SSs below.
Would that be possible to achieve with this library
no, the OutlineEffect doesn't currently support this use case. Outlines are detected based on depth, so when an object covers another object, the depth of the occluded object will be overwritten.
The planned changes for v7 will allow us to render an object ID buffer that maps objects to unique colors. This information could then be used to support separate outlines for individual objects.
Activity
vanruesc commentedon Oct 20, 2021
Hi,
no, the
OutlineEffectdoesn't currently support this use case. Outlines are detected based on depth, so when an object covers another object, the depth of the occluded object will be overwritten.The planned changes for v7 will allow us to render an object ID buffer that maps objects to unique colors. This information could then be used to support separate outlines for individual objects.
Let's keep this issue open as a feature request.
vanruesc commentedon Aug 21, 2025
Folding this into #727