Materials - barsandcat/HMS-Sunflower GitHub Wiki
Material debug?
Animated materials https://dev.epicgames.com/community/learning/tutorials/WBJG/unreal-engine-wpo-animated-car-dashboard
Wire frame https://forums.unrealengine.com/t/wireframe-material-part1-the-not-so-manly-way/105122
Sin animated material https://youtu.be/BO_1T6xgZRE?si=lXthOkGKzL44B1W9
So we need some effect to be applied to the part? Well we can use Fresnel effect - and apparently meshes have overlay material property - I can assign it there. But it will double the rendering. What is better is to use parameters - MID material instance dynamic Here is good example - https://dev.epicgames.com/community/learning/tutorials/WBJG/unreal-engine-wpo-animated-car-dashboard Not my highlight as I want it, but similar Ok, I can create parametrized material, I can create from it MID, but I need to assign it. I.e. each geometry that uses that MID needs and initialization?
Hmm, there is this tutorial: https://www.youtube.com/watch?v=4Z3Fy-yu7Qk And instead of tweaking material on the objects, they assign postprocess material to postprocess volue.
- There is no problem with materials tweaking on the part Well we still need two effects on the part - "blueprint like" and "selected" 2016 mention recommends same approach - https://forums.unrealengine.com/t/how-can-i-select-an-object-in-game-and-highlight-its-outline/284426 2022 again post process pass, with multiple meshes support: https://forums.unrealengine.com/t/selection-highlight-of-blueprints-with-multiple-meshes/648806/2 I kind of feel stupid? Another post process one https://www.youtube.com/watch?v=m7DpYnWQbKI&t=0s
Ok, this one is intersting, it uses decal to apply higlight material to object! https://www.youtube.com/watch?v=R7oLZL97XYo This is not MID, but still, looks like something that would work for me?
This one uses overlay materials https://www.youtube.com/watch?v=4-a8QZIf1Dc Definitely simplest one yet! Another one with overlays - that is what I am going to use. https://www.youtube.com/watch?v=jWPJFuWyKtI&t=8s
New overlay material. How do we assign it? We need to have selection pointer - in shipyard, basically can be on the transition.
Here is good example of setting highlight via overlay material: https://forums.unrealengine.com/t/did-5-2-1-change-setoverlaymaterial-getting-error-since-update/1212990/9 Still, not code no how that material is initialized thoug.
Set material does include advanced functionality - it can remember its base material! No actually mesh has array of materials, and set material index is exactly that!