I’m looking for some help with a puzzle:
-
The goal is to “simply” cross fade two groups of meshes (red appears, blue disappears and vice versa).
-
The Cross fade example would be perfect BUT it does not work in this case because there are other elements in the scene that should not be affected by the cross fade (and may intersect with those that are affected).
-
Alpha texture and opacity would also be great BUT we cannot use those because not all objects can be
transparent=true
(we have to do this to avoid transparency issues). I could be wrong: maybe there is a way to overridetransparency=false
via shaders and still change the alpha channel?
Here’s a simplified demo: cross fade with transparency - CodeSandbox (inspired by the Cross fade example). As you can see the “permanent” scene disappears during the cross fade.
Any help would be immensely appreciated