Version: Unity 6 (6000.0)
Language : English
Create a 3D texture via script
Render a camera view to a Render Texture

Rendering to a texture

Resources for updating textures at runtime via Render TexturesA special type of Texture that is created and updated at runtime. To use them, first create a new Render Texture and designate one of your Cameras to render into it. Then you can use the Render Texture in a Material just like a regular Texture. More info
See in Glossary
and Movie Textures.

Page Description
Render a camera view to a Render Texture Create a texture that displays what a cameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
sees, for example to create a live arena camera in your game.
Drawing to textures with shaders via Custom Render Textures Resources for creating complex effects by rendering a texture with a shaderA program that runs on the GPU. More info
See in Glossary
.

Additional resources

Create a 3D texture via script
Render a camera view to a Render Texture
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961