# How can I apply different physical materials on a single material?

**URL:** <https://forums.unrealengine.com/t/how-can-i-apply-different-physical-materials-on-a-single-material/825501>\
**Category:** Asset Creation\
**Tags:** UE-5, unreal-engine, Rendering, question\
**Created:** [March 26, 2023, 5:49pm UTC](https://forums.unrealengine.com/t/how-can-i-apply-different-physical-materials-on-a-single-material/825501 "2023-03-26T17:49:21Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![DavidMcEwen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DavidMcEwen](https://forums.unrealengine.com/u/DavidMcEwen)\
**Post date:** [March 29, 2023, 2:25pm UTC](https://forums.unrealengine.com/t/how-can-i-apply-different-physical-materials-on-a-single-material/825501/10 "2023-03-29T14:25:40Z")

</div>

An option may be to use Physical Material Masks. This post covers how it works (as it doesn’t appear properly documented):

> [@Physical Material Masks?](https://forums.unrealengine.com/t/physical-material-masks/156605/2):
>
> Create a mask texture with no more than eight colors. The colors must be the 8 colors listed in the material editor (and also PhysicalMaterialMask.cpp): red, green, blue, cyan, magenta, yellow, white, and black. I was able to do this by creating an RGB (no alpha) PNG in Blender. Create a Physical Material Mask asset in the Content Browser. Then, right click on the asset and select Import Mask Texture. Choose the PNG you created in step 1. Open a Material (normal material, not physical ma…

It will probably depend how your material is structured how useful it can be (as in can it relate to a static look up). The usage basically resolves to the raycast hit mapping to the UVs of the mask and returning the index of the physical material.

---

_[View the full topic](https://forums.unrealengine.com/t/how-can-i-apply-different-physical-materials-on-a-single-material/825501)._
