The Custom Render Textures InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary window displays many of the same properties as the 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 Inspector, and some properties specific to Custom Render Textures.
Property: | Function: |
---|---|
Dimension | Dimension of the Render Texture. |
2D | Makes the Render Texture two-dimensional. |
Cube | Makes the Render Texture a cube map. |
3D | Makes the Render Texture three-dimensional. |
Size | The size of the Render Texture in pixelsThe smallest unit in a computer image. Pixel size depends on your screen resolution. Pixel lighting is calculated at every screen pixel. More info See in Glossary. |
Color Format | The format of the Render Texture. |
sRGB (Color Render Texture) | Enable to allow the Render Texture to use sRGB read/write conversions (Read Only). |
Mipmap | Enable this property to allow the Render Texture to use a mipmap. |
Auto-generate | Enable this property to automatically generate the mipmap to use. |
Wrap Mode | Defines how the Texture behaves when tiled. |
Repeat | The Texture repeats itself as a tile. |
Clamp | Unity stretches the edges of the Texture. |
Filter Mode | Defines how Unity filters the Texture when it is stretched by 3D transformations. |
Point | The Texture becomes blocky up close. |
Bilinear | The Texture becomes blurry up close. |
Trilinear | Like Bilinear, but the Texture also blurs between different mipmap levels. |
Aniso LevelThe anisotropic filtering (AF) level of a texture. Allows you to increase texture quality when viewing a texture at a steep angle. Good for floor and ground textures. More info See in Glossary |
Increases Texture quality when viewing the texture at a steep angle. Good for floor and ground textures. |
These properties are exclusive to Custom Render Textures. Custom Texture parameters are separated into three categories:
Material: Defines what shaderA program that runs on the GPU. More info
See in Glossary is used to update the texture.
Initialization: Controls how the texture is initialized before the shader performs any updates.
Update: Controls how the shader updates the texture.
Property: | Function: |
---|---|
MaterialAn asset that defines how a surface should be rendered. More info See in Glossary |
The Material that Unity uses to update the Custom Render Texture. |
Shader Pass | The Shader Pass that Unity uses to update the Custom Render Texture. The drop-down shows all passes available in your Material. |
Initialization Mode | The rate at which Unity initializes the texture. |
OnLoad | Unity initializes the texture once upon creation. |
Realtime | Unity initializes the texture every frame. |
OnDemand | Unity initializes the texture on demand from the script. |
Source | How Unity texture initializes the texture. |
Texture and Color | Unity uses a texture multiplied by a color to initialize the texture. |
Initialization Color | Defines the color that Unity uses to initialize the Custom Render Texture. If you also provide an Initialization Texture, Unity uses the multiplication of the color and the texture to initialize the Custom Render Texture. |
Initialization Texture | Defines the texture that Unity uses to initialize the Custom Render Texture. If you also provide an Initialization Color, Unity uses the multiplication of the color and the texture to initialize the Custom Render Texture. |
Material | Unity uses a Material to initialize the texture. |
Initialization Material | Defines the Material that Unity uses to initialize the Custom Render Texture. |
Update Mode | The rate at which the shader updates the Custom Render Texture. |
OnLoad | The shader updates the texture once upon creation. |
Realtime | The shader updates the texture every frame. |
OnDemand | The shader updates the texture on demand from script. |
Period | The amount of time in seconds over which Unity updates a real-time texture. A value of 0.0 updates every frame. This property is only available when the Update Mode to property is set to Realtime. |
Double Buffered | Double-buffers the texture. Each update swaps the two buffers. This allows you to read the result of the preceding update in the shader. |
Wrap Update Zones | Enable to allow partial update zones to wrap around the border of the texture. |
Cubemap Faces | (Cubemap only) Series of toggle allowing user to enable/disable update on each of the cube map faces. |
Update Zone Space | The coordinate system where Unity defines the update zones. |
Normalized | All coordinates and sizes are between 0 and 1 with the top-left corner starting at (0, 0). |
Pixel | All coordinates and sizes are expressed in pixels limited by the width and height of the texture. Top-left corner starting at (0, 0). |
Update Zone List | List of update zones for the texture. For more information, see Update Zones. |
You can export Custom Render Textures to a PNG or EXR file (depending on the texture format) in the Export menu.
Property: | Function: |
---|---|
Center | The coordinates of the center of the update zone.. |
Size | The size of the update zone. |
Rotation | The orientation of the update zone in degrees (unavailable for 3D textures). |
Shader Pass | Defines the Shader Pass to use for this update zone. If you set this property as default, this update zone uses the Shader Pass that you defined in the main part of the inspector. Otherwise it will use the Shader Pass you provide. |
Swap (Double Buffer) | (Only for Double Buffered textures) When you enable this property, Unity swaps the buffers before processing this update zone. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.