# Is there a way to get the base color from the attributes and cast it to texture?

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-get-the-base-color-from-the-attributes-and-cast-it-to-texture/696692>\
**Category:** FX\
**Tags:** UE5-0, question\
**Created:** [November 22, 2022, 12:12pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-get-the-base-color-from-the-attributes-and-cast-it-to-texture/696692 "2022-11-22T12:12:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [November 22, 2022, 12:12pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-get-the-base-color-from-the-attributes-and-cast-it-to-texture/696692/1 "2022-11-22T12:12:38Z")

</div>

I am transferring a texture from one material to another

![0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/5/f056375a8fdfaffea42cffc9993ba95f4ecbcbbf.png)

The thing is that I am modifying the color of the texture.

 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/0/d/90da5d1d23c8c17dc5590d3e25d569291c376044.png)

So if I could get the base color directly from the material attributes and cast it to texture that would be great.

Any way to do it?

Any other method also works for me… the point is to get the resulting color.

Thank you very much

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [November 22, 2022, 5:55pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-get-the-base-color-from-the-attributes-and-cast-it-to-texture/696692/2 "2022-11-22T17:55:47Z")

</div>

I solved my problem… and it was more complicated than I thought…

But basically i transformed the original material into a layer and then I used a layer blender.

And I had to replace the textures with black and white color.

So here I leave a screenshot in case another person can help.

 ![0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/4/874103af1a483cb0716c0fdd505c2ffed7d1db57.jpeg)
