question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some meshes to overlap glow

See original GitHub issue

Imagine here the stroke behind chip stack is just absent as it would happen if stroke is overlapped by the stack. This is what I d like to achieve. Currently working on PR for this but would like to have some guidance/input.

My idea is to:

  • API wise have additional flag shouldExcludedOverlap: boolean
  • Solution wise to render excluded meshes to one more stencil buffer and substract it from blurred glow texture.

Any better ideas on this? @deltakosh @sebavan

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:27 (27 by maintainers)

github_iconTop GitHub Comments

1reaction
sebavancommented, Jul 10, 2018

Hello,

This is the function doing the trick:

scene.setRenderingAutoClearDepthStencil(1, false, false, false);

This prevent the depth buffer to be cleaned before rendering the group 1. You should replace 1 by the group id of your chips.

1reaction
PixelsCommandercommented, Jun 19, 2018

Yeah, sure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Glow + Other mesh overlap - Questions - Babylon.js Forum
In short, I have built a scene with an animated celestial sphere, Earth, Moon, and a few asteroids. Earth has a glow layer....
Read more >
Is there any way to fix this issue with my overlapping meshes ...
Is there any way to fix this issue with my overlapping meshes? Or is the only solution just to fix them and not...
Read more >
Help in making an overlaying glow for a mesh - Building Support
I'm currently looking to create a glow overlay effect for my sword. By glow effect, I mean that a duplicate of my sword...
Read more >
Avoiding overlap in my Glow shader - Unity Forum
This is doing mostly what I want, with the shader growing the mesh. However, I don't like that any overlapping portions of the...
Read more >
Unlocking the Glow Effect in Photoshop - YouTube
Learn the best methods to create a glow effect in Photoshop, ... DISCLAIMER: Some of the links below may be affiliated links.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found