# Add A Texture Object from Material Expression Output

**URL:** <https://forums.unrealengine.com/t/add-a-texture-object-from-material-expression-output/619576>\
**Category:** AI\
**Tags:** unreal-engine, UE5-0, CPP, question\
**Created:** [August 2, 2022, 7:33am UTC](https://forums.unrealengine.com/t/add-a-texture-object-from-material-expression-output/619576 "2022-08-02T07:33:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LitTwilight](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LitTwilight](https://forums.unrealengine.com/u/LitTwilight)\
**Post date:** [August 2, 2022, 7:33am UTC](https://forums.unrealengine.com/t/add-a-texture-object-from-material-expression-output/619576/1 "2022-08-02T07:33:03Z")

</div>

I trying to build my own Advance Material Output just like Single Layer Water did.And I hope to directly push some information without artist to write complex HLSL in editor.So i try to connect the Texture Object and use it in BasePass and Lighting Pass.But i found that FExpressionInput only support the float attribute but TextureObject.And i can not just link my texture in editor and use it in my HLSL directly.Is there Engine don`t support this way or is there are other way to achieve this?
