Get X,Y pixel coordinate values of Material as float 0.0-1.0

UE 4.26.2 (I can update)

I need to get the RGB value (well, just one of them, since it’s a Noise-node material and it’s black and white) of specific pixels on the material to use for generating a heightmap on a procedural mesh. I know there is a way to get the pixel values using a Render Target 2D, but I don’t know how to set the Render Target 2D to the generated Material…

The end goal is to be able to set-up a seed into the Material, and then set the vertices of the procedural mesh to the 0-1 float value of the Material at specific points (as in, vert. x30,y40 has the value of Mat. pixel x30,y40) to create a continuous heightmap. (edit: however for now, I’m happy with just getting it to read the Material’s pixel coordinates properly)

solved, use this Introduction to Render Targets - Unreal Engine 4 Tech Art S03E02 - YouTube