# "Read Render Target Raw Pixel" Not working?

**URL:** <https://forums.unrealengine.com/t/read-render-target-raw-pixel-not-working/1259983>\
**Category:** Blueprint\
**Tags:** target, Debugging, Render, gpu, unreal-engine, CPU, color, pixel, render-target, Blueprint, question\
**Created:** [August 13, 2023, 9:02pm UTC](https://forums.unrealengine.com/t/read-render-target-raw-pixel-not-working/1259983 "2023-08-13T21:02:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_untextured](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_untextured](https://forums.unrealengine.com/u/The_untextured)\
**Post date:** [August 13, 2023, 9:02pm UTC](https://forums.unrealengine.com/t/read-render-target-raw-pixel-not-working/1259983/1 "2023-08-13T21:02:53Z")

</div>

Hello!

I am having an issue with the “Read Render Target Raw Pixel” node, arranged as shown below, where it will always return (1, 0, 0, 1) no matter what I do to it.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/e/5be65b24763b60853b7b62680f78f6e5f50745e9.png)

I tried changing the “Clear Color” setting, the color “Format” but nothing: the problem persists. The “Grid Size” variable is set to 64x64 but I tried other sizes as well just in case. I even tried reading different pixels other than at position (1, 1).

The problem also persists when using the “Read Render Target Raw” node, where the output is an empty array, rather than being the pixel buffer.

Does anybody have any solution to this problem?

Thanks!

---

<div class="post-metadata">

**Author:** ![Speido](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Speido](https://forums.unrealengine.com/u/Speido)\
**Post date:** [August 13, 2023, 10:51pm UTC](https://forums.unrealengine.com/t/read-render-target-raw-pixel-not-working/1259983/2 "2023-08-13T22:51:45Z")

</div>

Since return value is Linear Color, try RTF RGBA32F or RGBA16F.

---

<div class="post-metadata">

**Author:** ![The\_untextured](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_untextured](https://forums.unrealengine.com/u/The_untextured)\
**Post date:** [August 13, 2023, 11:17pm UTC](https://forums.unrealengine.com/t/read-render-target-raw-pixel-not-working/1259983/3 "2023-08-13T23:17:09Z")

</div>

It worked! Thanks! It does use 4 times as much memory… But oh well… What’s a few Mb more…

16 bit works. 32 does not though. Be aware any future people.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [September 12, 2023, 11:17pm UTC](https://forums.unrealengine.com/t/read-render-target-raw-pixel-not-working/1259983/4 "2023-09-12T23:17:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
