# PostprocessInput0 Filtering does not work

**URL:** <https://forums.unrealengine.com/t/postprocessinput0-filtering-does-not-work/310370>\
**Category:** Rendering\
**Tags:** Post-Processing, unreal-engine, bug-report, question\
**Created:** [March 10, 2015, 8:27pm UTC](https://forums.unrealengine.com/t/postprocessinput0-filtering-does-not-work/310370 "2015-03-10T20:27:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![devast3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devast3d](https://forums.unrealengine.com/u/devast3d)\
**Post date:** [March 10, 2015, 8:27pm UTC](https://forums.unrealengine.com/t/postprocessinput0-filtering-does-not-work/310370/1 "2015-03-10T20:27:52Z")

</div>

I’m sampling PostprocessInput0 texture in the custom node like this

```
float3 result = Texture2DSample(PostprocessInput0, PostprocessInput0Sampler, uv).rgb;

```

uv is distorted to achieve some special effect. But PostprocessInput0Sampler is always Point, even if I check “Filtered” in the graph. This gives pixelated output.

To overcome this I created separate 1x1 texture and set its filtering to Bi-linear in the texture editor. Then in the Custom node I sample PostprocessInput0 like this

```
float3 result = Texture2DSample(PostprocessInput0, Material.Texture2D_0Sampler, uv).rgb;

```

where Material.Texture2D\_0Sampler corresponds to the 1x1 texture above. This way I get correct bilinear filtering on scene texture.

Please fix this.

Version:  
UE 4.7.2 from the installer.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 16, 2015, 10:39pm UTC](https://forums.unrealengine.com/t/postprocessinput0-filtering-does-not-work/310370/2 "2015-03-16T22:39:52Z")

</div>

Hey -

Could you post the class files (header and source) where you are declaring/using the two lines of code posted above? If there are references to other custom code classes then we may need an entire sample project to help determine what is causing problems. Since an entire project would be too large of a file you could upload the project to dropbox and then send me a private message on the forums with a link.

Cheers

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 25, 2015, 7:47pm UTC](https://forums.unrealengine.com/t/postprocessinput0-filtering-does-not-work/310370/3 "2015-03-25T19:47:57Z")

</div>

Hi ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

---

<div class="post-metadata">

**Author:** ![devast3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devast3d](https://forums.unrealengine.com/u/devast3d)\
**Post date:** [April 3, 2015, 7:08am UTC](https://forums.unrealengine.com/t/postprocessinput0-filtering-does-not-work/310370/4 "2015-04-03T07:08:05Z")

</div>

Found the answer myself:

in order to sample with bilinear filtration you need to use BilinearTextureSampler0 sampler in the code, e.g.

Texture2DSample(PostprocessInput0, BilinearTextureSampler0, uv)
