# Niagara: how to sample from render target texture?

**URL:** <https://forums.unrealengine.com/t/niagara-how-to-sample-from-render-target-texture/481735>\
**Category:** FX\
**Tags:** unreal-engine, render-target, question\
**Created:** [April 11, 2021, 8:19am UTC](https://forums.unrealengine.com/t/niagara-how-to-sample-from-render-target-texture/481735 "2021-04-11T08:19:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![laggyluk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Post date:** [April 11, 2021, 8:19am UTC](https://forums.unrealengine.com/t/niagara-how-to-sample-from-render-target-texture/481735/1 "2021-04-11T08:19:00Z")

</div>

On the scene I have actor with SceneCaptureComponent2D, it writes to render target and I want to sample it in Niagara.  
In the ContentExamples project there are some systems that show how to write to render target but not how to read from it. Simply using TextureSampler module with it doesn’t seem to work.

---

<div class="post-metadata">

**Author:** ![laggyluk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Post date:** [April 11, 2021, 8:27am UTC](https://forums.unrealengine.com/t/niagara-how-to-sample-from-render-target-texture/481735/2 "2021-04-11T08:27:51Z")

</div>

oops, TexutureSampler works just fine, couldn’t see anything because of alpha channel
