The Render Texture 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 is similar to the Texture Inspector.
The Render Texture inspector displays the current contents of Render Texture in real-time and can be an invaluable debugging tool for effects that use render textures.
Property | Description | |
---|---|---|
Dimension | Set the number of dimensions of the Render Texture. | |
2D | Set the Render Texture as a 2D texture. | |
2D Array | Set the Render Texture as a 2D texture array. | |
Cube | Set the Render Texture as a cubemapA collection of six square textures that can represent the reflections in an environment or the skybox drawn behind your geometry. The six squares form the faces of an imaginary cube that surrounds an object; each face represents the view along the directions of the world axes (up, down, left, right, forward and back). More info See in Glossary. |
|
3D | Set the Render Texture as 3D texture. | |
Size | Set 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. |
|
Anti-Aliasing | Set the number of antialiasingA technique for decreasing artifacts, like jagged lines (jaggies), in images to make them appear smoother. See in Glossary samples Unity applies. The options are None, 2 samples, 4 samples, or 8 samples. If you select None, Unity doesn’t apply antialiasing. |
|
Enable Compatible Format | If you enable this property, Unity converts the Color Format and Depth Stencil Format to compatible formats, if the platform doesn’t support the formats you select. | |
Color Format | Set the GraphicsFormat of the color buffer of the Render Texture. If you select None, Unity doesn’t allocate a color buffer for this Render Texture. | |
Depth Stencil Format | Set the GraphicsFormat of the depth/stencil buffer of the Render Texture. If you select None, Unity doesn’t allocate a depth/stencil buffer for this Render Texture. The stencil buffer is a general purpose buffer that allows you to store an additional unsigned 8-bit integer (0 to 255) for each pixel Unity draws to the screen. | |
Mipmap | Allocate a mipmap for the Render Texture. | |
Auto-generate | Automatically generate a mipmap. If you disable this property, use the RenderTexture.GenerateMips API to generate a mipmap manually. Alternatively, choose which mipmap level to render into when you use Graphics.SetRenderTarget and Rendering.CommandBuffer.SetRenderTarget . This property is visible only if you enable Enable Mip Maps. |
|
Dynamic Scaling | Use dynamic resolutionA Camera setting that allows you to dynamically scale individual render targets to reduce workload on the GPU. More info See in Glossary to resize the Render Texture. If you disable this property, the Render Texture stays the same size regardless of the 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’s Dynamic Resolution setting. |
|
Random Write | Allow shadersA program that runs on the GPU. More info See in Glossary to write into arbitrary locations of the color buffer of the Render Texture. Refer to RenderTexture.enableRandomWrite for more information. |
|
Wrap Mode | Control how Unity wraps the texture. | |
Repeat | Tile the texture to create a repeating pattern. | |
Clamp | Stretch the edges of the texture. This is useful for preventing wrapping artifacts when you map an image onto 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, and you don’t want the texture to tile. |
|
Mirror | Tile the texture to create a repeating pattern that mirrors the texture at every integer boundary. | |
Mirror Once | Mirror the texture once, then fall back to clamping. | |
Per-axis | Set different Wrap Mode values for the u-axis and v-axis. For example, when you use latitude-longitude environment maps for reflection probesA rendering component that captures a spherical view of its surroundings in all directions, rather like a camera. The captured image is then stored as a Cubemap that can be used by objects with reflective materials. More info See in Glossary, you can use Repeat for the u-axis and Clamp for the v-axis. |
|
Filter Mode | Control how the sampling of the texture uses nearby pixels. | |
Point | Use the nearest pixel. This makes the texture appear pixelated. | |
Bilinear | Use a weighted average of the four nearest texels. This makes the texture appear blurry when you magnify it. | |
Trilinear | Use a weighted average of the two nearest mipmap levels, which Unity filters using bilinear filtering. This creates a soft transition between mipmap levels, but the texture is slightly more blurry. | |
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 |
Set the anisotropic filtering level of the texture. This increases texture quality when you view the texture at a steep angle. Use anisotropic filtering for floor, ground, and road textures. This property is visible only if you set Depth Stencil Format to None. | |
Shadow Sampling Mode | Select the sampling technique the GPU uses if the render texture is used as a shadow map. This property is only visible if Depth Stencil Format is not set to None, and only has an effect if you set Color Format to None. | |
None | The GPU doesn’t sample the shadow map. | |
Compare Depths | The GPU uses a hardware comparison filter to sample the shadow map. |
RenderTexture
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.