OutlinePass does not support outlining child meshes
See original GitHub issueHello!
problem
I noticed that outline only works if Your objects are directly children of scene. Because of that, when I try to outline object that is child of an object in scene. The visible = false
flag on parent makes child object invisible for outline pass.
live code snippet
soon
possible solutions
- cloning scene?
- using transparency instead of visibility?
I noticed that @Mugen87 is familiar with three.js/examples/js/postprocessing/OutlinePass.js
I could try to fix this issue, but I think that idea how to do it should be discussed here first.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
OutlinePass for child meshes - Questions - three.js forum
I am trying to use the OutlinePass example to outline meshes that can possibly be children of other meshes.
Read more >How to use Three.js OutlinePass with React? - Stack Overflow
I'm trying to make this Post-processing Outline Thee.js example work using React server side rendering. My main problem is are these lines (47...
Read more >Create a 3D Outline Animation with Three.js - Tips4Devs.com
The trick is to enable transparency on the mesh and set the opacity to 0 , This way the model is not visible...
Read more >Screen-space outline effect for Unity (FREE) - Unity Forum
This is a screen space effect, it trades performance for outline quality. ... That said, HDRP outlines are not supported yet.
Read more >Showing highlighted silhouette of mesh ONLY when it is ...
What I want to do is highlight the outline of these avatars ONLY when they are occluded by any other object, meaning that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I mean you never know what layer is used by a camera to render something on screen. I guess this could be a problem 🤔
Hello, when I highlighted the mesh, the AxesHelper and coordinate axes in the scene were highlighted together. Is there any solution for this? Thank you