# Niagara, can you pass expose a texture parameter and pass it to a texture sample?

**URL:** <https://forums.unrealengine.com/t/niagara-can-you-pass-expose-a-texture-parameter-and-pass-it-to-a-texture-sample/728877>\
**Category:** FX\
**Tags:** unreal-engine, question\
**Created:** [December 15, 2022, 10:58am UTC](https://forums.unrealengine.com/t/niagara-can-you-pass-expose-a-texture-parameter-and-pass-it-to-a-texture-sample/728877 "2022-12-15T10:58:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bitinn1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bitinn1](https://forums.unrealengine.com/u/bitinn1)\
**Post date:** [December 15, 2022, 10:58am UTC](https://forums.unrealengine.com/t/niagara-can-you-pass-expose-a-texture-parameter-and-pass-it-to-a-texture-sample/728877/1 "2022-12-15T10:58:31Z")

</div>

Hi,

Under UE4.27, I have tried to exposed both Texture and Texture Sample as user parameter then assign it via set emitter.

But it looks like I cannot set them properly either way:

- I cannot assign a Texture user parameter to a Texture Sample
- I can assign a Texture Sample user parameter to a Texture Sample on emitter, but the texture wasn’t read properly.

Under UE5.1, it seems Texture Sample now has an extra Texture User Parameter which does allow us to overwrite the default texture via user parameter, is the same possible in UE4.27?

---

<div class="post-metadata">

**Author:** ![bitinn1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bitinn1](https://forums.unrealengine.com/u/bitinn1)\
**Post date:** [December 15, 2022, 11:01am UTC](https://forums.unrealengine.com/t/niagara-can-you-pass-expose-a-texture-parameter-and-pass-it-to-a-texture-sample/728877/2 "2022-12-15T11:01:09Z")

</div>

There is one additional bug: under UE4.27.2, if we assign a user parameter texture sample to emitter texture sample, that texture sample is broken forever, even when we remove the assignment, only undo seems to fix it ☹
