Version: Unity 6.2 Alpha (6000.2)
Language : English
Rendering to a texture
Render a camera view to a Render Texture

Create a Render Texture

A Render TextureA 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
is a type of textureAn image used when rendering a GameObject, Sprite, or UI element. Textures are often applied to the surface of a mesh to give it visual detail. More info
See in Glossary
that Unity creates and updates at runtime.

You can set 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
to render into a Render Texture. You can then use the Render Texture as the material on a GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
so the camera view appears on the GameObject.

To create a Render Texture, select Assets > Create > Rendering > Render Texture.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
Rendering to a texture
Render a camera view to a Render Texture
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961