Hello,
In my 3js scene, I am trying to render outline for selected 3d model using OutlinePass
which works as expected.
I am also using TransformControls
with gizmo, so user can move the 3d model in the scene.
The problem I am facing is when transform gizmo is enabled, the outline is also rendered on the transform gizmo.
I want to render the outline only on the model and needs to exclude the transform gizmo. How can I achieve that?
I am also sharing link to code sandbox for live preview - https://codesandbox.io/p/sandbox/2r75xw?file=%2Fsrc%2FApp.tsx%3A97%2C15 that explains the problem.
Any thoughts on how to fix this issue? Any help is appreciated.
Thanks in advance.