Hi everyone
I’m actually working on an archviz project and i want to have some kind of x ray tool like the one you have in “CollabView” default project.
I tried to understand all the blueprints stored in that one but, in the end, my brain gave up lol, and i decided to try recreate something similar from scratch.
I need a simple system where you can point a mesh, click on it, override all the materials to an “x ray mat” i set up, and then on the second LMB click it restore the original materials applied to the mesh (i have several meshes that have more than 1 material so i need to store the data of every material applied in some way)
Here are some screenshot from my actual nodes mess (actually my node setup is capable of change the material index0 to the x ray one, but i need the possibility to “undo” that on the second click and have my old mats back)
Sorry for noobism and bad english :')
Thanks in advice to anyone who will help me out
hey man! thanks for the reply.
I’m trying out your solution: i just have a question: what is the input pin on the “switch material” function?
Cause what ever i try i can not connect that static mesh component node
Another problem incoming
Everything worked fine on a test project but, as soon as i migrated everything inside the main project file, the pointer turn my materials into the desired material, but on the second click the mesh have the default material grid (no mat)
Any clue why is doing it?
Now it’s perfect!!!
Do you know why this generate some issues if my xray material is translucent?
With opaque material everything is perfect but as soon as i do an xray translucent material (to low opacity) the switch mat turns it material grid