What is the equivalent of mesh renderer and render to texture in Unity?

I need to render the camera viewport to a texture of a mesh for some warping effects.
Does anyone have any leads on how to do this?


You will need to create a TextureRenderTarget2D (listed as “Render Target” in the new asset dropdown menu) & hook a SceneCaptureComponent2D up to it so it gets rendered to each frame (from the viewpoint of the SceneCaptureComponent2D).

The TextureRenderTarget2D can then be used like any 2D texture.

Thanks, that does the trick :slight_smile: