Static Mesh Change Transparency And Highlight Certain Object

I want to create something like this. Somehow there is no tutorial how to do it. Do I have to select the static mesh one by one and assign the transparent material? Except for certain object.

Hey there @ricknoble! What I would recommend is to have all of these pull from a master material that has a parameter for the opacity. Then depending if you already know what you’re going to show off (specific piece wise) you could hook up a material parameter collection and control ALL of them at once. However if you were to instead need to highlight random pieces at different times in different ways you may want to just change the parameter directly.

1 Like

Thank you for your fast response. Unfortunately I do not have “master” material at the moment. So is there any other way? I found this “Bulk Change SM Materials” under Scripted Asset Action, but it seems that it is not working :smiling_face_with_tear:

You create or download a master material yourself?

Yeah there’s a small number of ways to pull it off, depending on how the material needs to work. If you’re using a scripted asset action that’s unique to that project you’d have to check how it works. As that action is likely unique to the project or template that you have, (I’m guessing product configurator?). However the easiest thing would be to use parameters and making them material instances. That way you could just control the transparency via BP.

I am so sorry, I do not understand. I have all the material set up (normal material, no opacity). I want to highlight somepart for image render, by turning all the static mesh to transparent, except 1-2 objects (Like in the image up). The problem is that I do not want to select the static mesh one by one and assign the transparent material to it manually.

Is there anyway to do it with blueprints? Or like I select all the static mesh and assigned the transparent material to it?

So if you want a really simple version, you could change the material of every single piece you want to a transparent material (I would recommend an array), and that’d do it but it’s not pretty. It’d just be using the change material node.

image

However, if you want it to look better, you’re going to need to make changes to their materials to use material parameters collections to tweak them all. Which is why I mentioned a material reference so you could fade them in.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.

Here’s a basic reference on how to do that: