I'm using the outlinePass in a three.js project and it has a feature to show the outline of geometry that is behind another in different color, but I don't want this hidden outline at all. How do I remove this?
For example, I don't want the Red outline in below screenshot:
You can achieve this by setting the hiddenEdgeColor to black
outlinePass.hiddenEdgeColor.set(new Color('black'))
Check below screenshot: