Hi I’ve been trying to combine Babylon with Pixi as described in the docs.
It works pretty well but when I’m trying to use the HighlightLayer feature that breaks it. I’m guessing it’s somewhere in the RenderLoop but with little understanding how the HighlightLayer works I’m not sure where exactly the issue is, hoping someone here might be able to help.
I’ve created a fiddle here showing the issue.
If you comment out the 2 highlightLayer lines you’ll see how the scene should appear with a sprite in the background and another in the foreground. But the HighlightLayer makes the entire background black and the foreground sprite is only visible through the now highlighted mesh.