# How to get PostProcessInput0 in an HLSL Custom Material Node?

**URL:** <https://forums.unrealengine.com/t/how-to-get-postprocessinput0-in-an-hlsl-custom-material-node/489456>\
**Category:** Rendering\
**Tags:** Post-Processing, unreal-engine, custom-nodes, hlsl, Blueprint, question\
**Created:** [October 2, 2021, 4:15pm UTC](https://forums.unrealengine.com/t/how-to-get-postprocessinput0-in-an-hlsl-custom-material-node/489456 "2021-10-02T16:15:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoolNamesGone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coolnamesgone/32/247999_2.png) [@CoolNamesGone](https://forums.unrealengine.com/u/CoolNamesGone)\
**Post date:** [October 2, 2021, 4:15pm UTC](https://forums.unrealengine.com/t/how-to-get-postprocessinput0-in-an-hlsl-custom-material-node/489456/1 "2021-10-02T16:15:55Z")

</div>

I’m trying to write a postprocessing material that applies a Gaussian blur to the scene. I’m trying use a custom node, similar to the node described here: [Gaussian blur post processing material](https://forums.unrealengine.com/t/gaussian-blur-post-processing-material/14683)

The problem comes with the Texture2DSample. I’m told that PostprocessInput0 doesn’t exist. I _think_ it’s been changed to PPI\_PostProcessInput0, but when I use that, I’m told that PPI\_PostProcessInput0Sampler doesn’t exist.

How do I access PostProcessInput0 in a Texture2DSample?

Edit: Even though a SceneTexture:PostProcessInput0 node outputs a color, if you make an input to your custom node called SceneTexture and connect the output of SceneTexture:PoostProcessInput0, you then have access to SceneTextureLookup and GetDefaultScentTextureUV functions. Use the SceneTextureLookup insteadof Texture2DSample. the index for PostProcessInput0 is a constant, PPI\_PostProcessInput0.  
I was confused because if you don’t connect the SceneTexture node to your custom node, the compiler can’t find the SceneTextureLookup function.
