# Recolouring a texture using Materials

**URL:** <https://forums.unrealengine.com/t/recolouring-a-texture-using-materials/2682540>\
**Category:** Rendering\
**Tags:** unreal-engine, shader, question\
**Created:** [December 6, 2025, 2:07am UTC](https://forums.unrealengine.com/t/recolouring-a-texture-using-materials/2682540 "2025-12-06T02:07:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hydr0k](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hydr0k/32/784603_2.png) [@hydr0k](https://forums.unrealengine.com/u/hydr0k)\
**Post date:** [December 6, 2025, 2:07am UTC](https://forums.unrealengine.com/t/recolouring-a-texture-using-materials/2682540/1 "2025-12-06T02:07:33Z")

</div>

I have 3 textures:

 ![CMapCharPoses1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/2/262d7f480998447f050e6586164a683096fb19e2.png)

![CMapCharUnwrapped](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/0/340c83bcc427107416048895252a1c7a676e73d1.png)

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

Using a material, I want to recolour the hockey players to use the colours in the 3rd image. I have the logic for a render target (RT) but it performs poorly. I essentially read each pixel from the first image in a RT and find it in a table with all the values in the 2nd image. The “position” is then recorded, and I read the colour from the 3rd image and apply it to the pixel in the 1st image.

How can I do this in a material?
