# Problem sampling User Scene Texture at high resolution

**URL:** <https://forums.unrealengine.com/t/problem-sampling-user-scene-texture-at-high-resolution/2261645>\
**Category:** Rendering\
**Tags:** Post-Processing, build, unreal-engine, standalone, Rendering, question\
**Created:** [January 5, 2025, 11:06pm UTC](https://forums.unrealengine.com/t/problem-sampling-user-scene-texture-at-high-resolution/2261645 "2025-01-05T23:06:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilotyna815](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gilotyna815](https://forums.unrealengine.com/u/gilotyna815)\
**Post date:** [January 5, 2025, 11:06pm UTC](https://forums.unrealengine.com/t/problem-sampling-user-scene-texture-at-high-resolution/2261645/1 "2025-01-05T23:06:50Z")

</div>

I’m making a 3D fog of war system and to make it I use a custom render pass as the mask for post-process material as to which areas should be hidden. It works basically as a shadow map. It works, except for high resolutions.

Here’s how it’s supposed to look and how it indeed looks in the viewport. Viewport’s size here is something random like 1600x600.

 ![shadow problem 3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/c/5fcdb4b48fba0ea02171c13a939bacccf04d6290.jpeg)

The problems appear if I resize viewport to be larger or run in standalone mode. Here’s the standalone mode at fullscreen on my 1920x1084 monitor.

 ![shadow problem 2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/3/cc304bb39515c4be8aed7dfd25c48302756e8912.jpeg)

But the problems get even worse if I run the game from a packaged build. On the same 1920x1084 monitor:

 ![shadow problem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/b/c4b1fb6da97883be66d9c61d62e8a3afac719ccf.jpeg)

I have extensively tested the materials I’m using and the problem definitely definitely stems from sampling my custom render pass. Here’s the post-process material that applies the fog of war to the scene using my custom render pass as a mask.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/c/adce7cd957dad4ec75c442bf9745e16e596a7d65.png)

For completion’s sake here’s what I write into the render pass, by sampling a depth cubemap to make a shadow map:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/2/fc229855a460007572f3475cd2f9ec9be82525b3.png)

In short: how do I get rid of the banding and bleeding of the post-process effect caused by sampling a custom render pass.

---

<div class="post-metadata">

**Author:** ![IkWasbeer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IkWasbeer](https://forums.unrealengine.com/u/IkWasbeer)\
**Post date:** [February 3, 2025, 4:35pm UTC](https://forums.unrealengine.com/t/problem-sampling-user-scene-texture-at-high-resolution/2261645/2 "2025-02-03T16:35:23Z")

</div>

Did you end up finding a solution? I’m having the exact same problem 😬  
On my 2560x1440 monitor, it seems to happen when the viewport resolution exceeds roughly 1920x1280

---

<div class="post-metadata">

**Author:** ![Warwlock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/warwlock/32/755019_2.png) [@Warwlock](https://forums.unrealengine.com/u/Warwlock)\
**Post date:** [February 14, 2025, 10:04am UTC](https://forums.unrealengine.com/t/problem-sampling-user-scene-texture-at-high-resolution/2261645/3 "2025-02-14T10:04:05Z")

</div>

I also ended up encountering same issue. But I guess this could be a bug, because this doesn’t happens with “SceneTexture:PostProcessInput0” node. I tried to explain my point of view on another post: [User Scene Texture BUG Happens by Changing Resolution of Game](https://forums.unrealengine.com/t/user-scene-texture-bug-happens-by-changing-resolution-of-game/2332307)

Here is what was happening in my case on eigenvector pass:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/a/dda2870571f4095913df7611ce8caf8115e86d61.jpeg)

---

<div class="post-metadata">

**Author:** ![MatXP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MatXP](https://forums.unrealengine.com/u/MatXP)\
**Post date:** [March 27, 2025, 11:53pm UTC](https://forums.unrealengine.com/t/problem-sampling-user-scene-texture-at-high-resolution/2261645/4 "2025-03-27T23:53:04Z")

</div>

Change your Screen Percentage to 100, it will fix your issue.

If someone knows how to use User Scene Textures with any values of Scene Percentage, I’ll be happy …

---

<div class="post-metadata">

**Author:** ![Dobz1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dobz1](https://forums.unrealengine.com/u/Dobz1)\
**Post date:** [April 22, 2025, 6:20am UTC](https://forums.unrealengine.com/t/problem-sampling-user-scene-texture-at-high-resolution/2261645/5 "2025-04-22T06:20:25Z")

</div>

Looks like this will be fixed in 5.6 thankfully: [Unreal Engine Issues and Bug Tracker (UE-234814)](https://issues.unrealengine.com/issue/UE-234814)
