Edges not getting Renderer on instanced meshes using RenderTargetTexture

When I apply BABYLON’s Edge rendering to the meshes in a scene, it works correctly for all meshes. However, when I apply it to a Render Target Texture after adding all meshes to its renderList, “instanced meshes” do not have their edges rendered.

here is a link to the PG: https://playground.babylonjs.com/#VQ3HY8#3

1 Like

having a look rn :slight_smile:

1 Like

Fix: Fix edges render with instances in MRT by deltakosh · Pull Request #15286 · BabylonJS/Babylon.js · GitHub

4 Likes

Thanks @Deltakosh for such swift fix! :slightly_smiling_face:

2 Likes

Hello @Deltakosh We are on v5, and can’t upgrade…
Any way we can fix it on v5 ???

1 Like