Hello, I ran into a problem when trying to animate node (with meshes inside) using FadeInOutBehavior
and I’m not sure if there is a way to solve this problem.
I’ve created playground with the issue - https://playground.babylonjs.com/#Q8MIGE#1
In my app I have a meshes that are occluded, have edges rendering enabled and materials are half way transparent to see image in the background through mesh. Sometimes I need to hide the node with all colliders inside but I want to add a smooth animation to it.
When fade animation is not playing then everything looks fine. But when I run fadeInOutBehavior.fadeIn(true)
then, for the time when animation is playing, edges that shouldn’t be visible are visible and materials from 2 boxes in not occluded part are overlapping.
Is there any possible solution for this or any simple alternative?