What it does
A RenderTexture is a GPU image that receives rendering for later display or processing. For example, assign it to a camera's Target Texture to show a security-camera view on an in-game monitor.
How to use it
Assign an RT to a camera or allocate it as a scripted rendering target. Display it through RawImage or a suitable shader, choosing dimensions, formats, depth and MSAA for the task.
A concrete example
A character portrait can use a dedicated camera rendering to an RT shown in UI. Even with background alpha, mismatched display blending or color conversion can produce dark edges.
How to check it
- Test a solid color and known shapes before introducing transparency.
Inspect overlapping surfaces and draw / storage order - Define ownership and release timing separately for persistent RTs and targets borrowed through GetTemporary.
Inspect overlapping surfaces and draw / storage order
Limitations
Manage size, formats, samples, and lifetime; it is not an ordinary imported Texture2D.