# custom node: return SceneTextureLookup(uv,14,false) not working

**URL:** <https://forums.unrealengine.com/t/custom-node-return-scenetexturelookup-uv-14-false-not-working/439948>\
**Category:** Rendering\
**Tags:** Post-Processing, unreal-engine, custom, shader, Blueprint, question\
**Created:** [December 22, 2018, 7:24am UTC](https://forums.unrealengine.com/t/custom-node-return-scenetexturelookup-uv-14-false-not-working/439948 "2018-12-22T07:24:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielMo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DanielMo](https://forums.unrealengine.com/u/DanielMo)\
**Post date:** [December 22, 2018, 7:24am UTC](https://forums.unrealengine.com/t/custom-node-return-scenetexturelookup-uv-14-false-not-working/439948/1 "2018-12-22T07:24:40Z")

</div>

Hello there, in Post Process material the hlsl code in a custom-node (“return SceneTextureLookup(uv,14,false);” always says [SM5] /Engine/Generated/Material.ush(1410,8-46): error X3004: undeclared identifier ‘SceneTextureLookup’. In Window → HLSL Code there is a correct function defined:  
float4 (float2 UV, int SceneTextureIndex, bool bFiltered)  
{…}

Other functions work too… So either i miss something really badly or there is something wrong with this shader function. I experienced this problem in 4.21 and 4.19.2

Maybe someone can help me with it.

regards

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [December 22, 2018, 5:02pm UTC](https://forums.unrealengine.com/t/custom-node-return-scenetexturelookup-uv-14-false-not-working/439948/2 "2018-12-22T17:02:11Z")

</div>

Gotta use scene texture material expression in your graph before the custom node.

---

<div class="post-metadata">

**Author:** ![DanielMo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DanielMo](https://forums.unrealengine.com/u/DanielMo)\
**Post date:** [December 23, 2018, 2:23am UTC](https://forums.unrealengine.com/t/custom-node-return-scenetexturelookup-uv-14-false-not-working/439948/3 "2018-12-23T02:23:00Z")

</div>

Already got it to work. Might be too late yesterday :). Thank you.

---

<div class="post-metadata">

**Author:** ![dkweon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dkweon/32/1215068_2.png) [@dkweon](https://forums.unrealengine.com/u/dkweon)\
**Post date:** [February 2, 2023, 9:23am UTC](https://forums.unrealengine.com/t/custom-node-return-scenetexturelookup-uv-14-false-not-working/439948/4 "2023-02-02T09:23:31Z")

</div>

Hello , could you please tell me how you solved the issue?  
Thank you!!

---

<div class="post-metadata">

**Author:** ![Blakeanator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blakeanator/32/626459_2.png) [@Blakeanator](https://forums.unrealengine.com/u/Blakeanator)\
**Post date:** [February 26, 2023, 10:15pm UTC](https://forums.unrealengine.com/t/custom-node-return-scenetexturelookup-uv-14-false-not-working/439948/5 "2023-02-26T22:15:45Z")

</div>

Why is this the case? The function in HLSL looks like it should be accessible.
