How can I pass the entire rendered image to a custom node in post process

I am new to Unreal so apologies if this is a noob question.

I need to perform a highly customized post process to my rendered image. This post process was developed in a different program, and can be molded as a matrix multiplication between a large matrix and a vector (for the speed benefit). The large matrix describes the desired post process, while the vector is the entire pre-post-process image (reshaped into a vector).

I am wondering if there is a way for Unreal to pass the entire image at the beginning of the post-process? In this way, I can write a custom function to perform the matrix multiplication (maybe even run it on the GPU), and the end result is passed back to Unreal for display. From what I can find on post process, it looks like it is a per-pixel based operation, which is very slow. Is it at all possible with Unreal?

As an example, in a 1024-by-1024 resolution, the large matrix will be 10241024-by-10241024, and the vector will be 1024*1024-by-1.

Thanks for your help!

1 Like