# Can texture coordinate parameters be applied to material instances?

**URL:** <https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603>\
**Category:** Rendering\
**Tags:** parameters, coordinates, unreal-engine, instances, question\
**Created:** [March 27, 2014, 2:36am UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603 "2014-03-27T02:36:09Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_03a6467f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_03a6467f](https://forums.unrealengine.com/u/anonymous_user_03a6467f)\
**Post date:** [March 27, 2014, 2:36am UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/1 "2014-03-27T02:36:09Z")

</div>

Hi.

I’m setting up a master material for instancing and am having trouble figuring out how to add texture coordinate functionality to the master material so that I can scale the material instances without having to create a new material and add a new texture coordinate each time. Is this possible?

In short - how do I add texture scaling functionality to my material instances?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jordan\_Walker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jordan\_Walker](https://forums.unrealengine.com/u/Jordan_Walker)\
**Post date:** [March 27, 2014, 2:41am UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/2 "2014-03-27T02:41:16Z")

</div>

multiply your texture coordinate by a scalar parameter. then you can edit the scalar parameter in the MIC.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_03a6467f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_03a6467f](https://forums.unrealengine.com/u/anonymous_user_03a6467f)\
**Post date:** [March 27, 2014, 2:43am UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/3 "2014-03-27T02:43:44Z")

</div>

Thanking you sire 😉

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_600b05c41](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_600b05c41](https://forums.unrealengine.com/u/anonymous_user_600b05c41)\
**Post date:** [July 14, 2014, 12:50am UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/4 "2014-07-14T00:50:26Z")

</div>

So what I tried to do is get my TexCoord and multiply it with a Scalar Param but it messes with my textures

 ![10246-screenshot+2014-07-13+17.44.27.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/1/f0153403513819052768c94f024409518aa719a6.png)

**Before**

 ![10247-screenshot+2014-07-13+17.44.40.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/c/d2cb0b42f711e07d1c2a77a31b912b50494fa32b.png)

**After**

Am i ding something wrong also whats MIC

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_03a6467f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_03a6467f](https://forums.unrealengine.com/u/anonymous_user_03a6467f)\
**Post date:** [July 14, 2014, 1:30pm UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/5 "2014-07-14T13:30:49Z")

</div>

MIC is a material instance constant which you can read up on here:

> **[Instanced Materials](https://docs.unrealengine.com/5.1/en-US/instanced-materials-in-unreal-engine/)**
>
> Hierarchical Material relationships that you to alter behavior and appearance of child Materials without shader recompilation.

Basically you create one by right clicking on your material in the content browser and selecting create material instance. The material instance will be a child of your parent material and when you add scalar parameters and so on in your material, you add functionality to the material INSTANCE which can be edited more quickly.

 ![10272-material_editor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/4/a24307cb61923438730df880bf169a5d1a17f97c.png)

This is what the material EDITOR window looks like and how the scalar multiply should be setup. (don’t worry about the texture looking weird in the material editor, it happened for me too)

 ![10273-material_instance.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/7/b17a7faa3125a048e16b7a62c316bdc0b5aa32dc.jpeg)

And this is the material INSTANCE window, which looks different to the material editor. You can see I have parameters for the roughness, metallic and SCALAR. (which I should have probably named uv scaling)

If I change the 1.0 value to 2.0 or 4.0 or whatever it will scale the material UV’s, in essence replacing the texture coordinate as the UV scaling option.

Remember to check the tickbox in the parameter value to edit the values in the MIC.

Hope this helps 😉

---

<div class="post-metadata">

**Author:** ![Jordan\_Walker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jordan\_Walker](https://forums.unrealengine.com/u/Jordan_Walker)\
**Post date:** [July 14, 2014, 1:34pm UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/6 "2014-07-14T13:34:10Z")

</div>

vreviews, it looks like you’re multiplying by 0 as your default, just do some other value and you will be fine. A good default is 1, higher than 1 will tile more, less than 1 will tile less.

---

<div class="post-metadata">

**Author:** ![Bob3DGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bob3DGames](https://forums.unrealengine.com/u/Bob3DGames)\
**Post date:** [January 21, 2016, 7:51pm UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/7 "2016-01-21T19:51:58Z")

</div>

It seems a bit odd to me that you can’t convert a TexCoord node into a parameter.

Anyway, this post almost answers my question. What _I_ need to be able to do, however, is tile each dimension separately in each material instance. How would I go about doing that?

Edit: I tried multiplying the TexCoord node by a Constant2Vector, which works in an ordinary material. However, when I convert the C2V node to a parameter it turns it into a four channel colour input which causes an error in the multiply node.

---

<div class="post-metadata">

**Author:** ![Bob3DGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bob3DGames](https://forums.unrealengine.com/u/Bob3DGames)\
**Post date:** [January 21, 2016, 7:52pm UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/8 "2016-01-21T19:52:36Z")

</div>

It seems a bit odd to me that you can’t convert a TexCoord node into a parameter.

Anyway, this post almost answers my question. What _I_ need to be able to do, however, is tile each dimension separately. How would I go about doing that?

---

<div class="post-metadata">

**Author:** ![Lusiogenic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lusiogenic/32/1054664_2.png) [@Lusiogenic](https://forums.unrealengine.com/u/Lusiogenic)\
**Post date:** [February 4, 2016, 2:26pm UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/9 "2016-02-04T14:26:07Z")

</div>

Yes, they can be applied. They have to first be exported as parameters from the original material.  
This was a bit difficult for me to find also, not sure why you cannot directly exporte the TextureCoordinate object.

This is how you can export UV coordinates from the original material:

- add two ScalarParameter nodes and name them UTiling and Vtiling
- add Append node and connect the two previews nodes to it
- add a Multiply node and a TextureCoordinate node and connect the outputs of the Append and TextureCoordionate node to the Multiply node
- connect the output of the Multiply node to the UVs input of your TextureSample node

Now, the two UV coordinates will appear in your material parameters. Go ahead and make a material instance by right clicking the material in the content browser, double click the material instance and modify the UV tiling in the upper left corner in the Parameters window.

Video tutorial here:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/1/c41fe63ceca2e73e6690a52e92a1846bd6ba5b5a.jpeg "UE4 Scale UV Coordinates through Parameters with Blueprints in Unreal Engine 4 Tutorial / How To") ](https://www.youtube.com/watch?v=y7yWSlzxu-4)

 ![77297-export_uv_tiling.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/2/7120b1c525d14b95f385a15f9fca76a4cd6003ff.jpeg)

---

<div class="post-metadata">

**Author:** ![Lusiogenic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lusiogenic/32/1054664_2.png) [@Lusiogenic](https://forums.unrealengine.com/u/Lusiogenic)\
**Post date:** [February 4, 2016, 2:29pm UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/10 "2016-02-04T14:29:01Z")

</div>

Look at my answer below, I have found a solution.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_da05b4b2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_da05b4b2](https://forums.unrealengine.com/u/anonymous_user_da05b4b2)\
**Post date:** [March 1, 2016, 5:32am UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/11 "2016-03-01T05:32:52Z")

</div>

Thank you for this. I make into Material Function so I can easily share between other materials! 🙂

---

<div class="post-metadata">

**Author:** ![Dannan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dannan/32/756725_2.png) [@Dannan](https://forums.unrealengine.com/u/Dannan)\
**Post date:** [July 6, 2022, 1:55pm UTC](https://forums.unrealengine.com/t/can-texture-coordinate-parameters-be-applied-to-material-instances/278603/12 "2022-07-06T13:55:50Z")

</div>

yeah just sort it out devs , like should be able to jsut convert Tex Coord to a param to expose the params in Material Instances

would make it way more intuitve
