'Render an object into texture space

How can you render an object into texture space in Unreal Engine?

An example:

  • uv coordinates becomes the geometry in uv space.
  • The xyz coordiates of the geometry becomes the color components of the texture target.

This would then require me to specify that the render target is unbounded float rgb.

I would of course provide a geometry with non-overlapping uv-coordinates etc.

Thanks for any feedback.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source