首页 > 代码库 > Render Texture

Render Texture

Render Texture

  Render Textures are special types of Textures that are created and updated at runtime. To use them, you 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.

  The Water prefabs in Unity Standard Assets are an example of real-world use of Render Textures for making real-time reflections and refractions.

  Render Textures are a Unity Pro feature.

    

  与Camera结合后,Render Texture可以用于实现镜子效果。

参考:file://localhost/Applications/Unity/Unity.app/Contents/Documentation/Documentation/Components/class-RenderTexture.html

Render Texture