You can import different 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 types into the Unity Editor via the Texture Importer.
Below are the properties available to configure the various Texture types in Unity in the Texture InspectorA Unity window that displays information about the currently selected GameObject, Asset or Project Settings, alowing you to inspect and edit the values. More info
See in Glossary window. Scroll down or select from the list below to find details of the Texture type you wish to learn about.
Property: | Function: |
---|---|
Texture Type | Default is the most common setting used for all Textures. It provides access to most of the properties for Texture importing. |
Texture Shape | Use this to define the shape of the Texture. See documentation on the Texture Importer for information on all Texture shapes. |
sRGB (Color Texture) | Check this box to specify that the Texture is stored in gamma space. This should always be checked for non-HDR color Textures (such as Albedo and Specular Color). If the Texture stores information that has a specific meaning, and you need the exact values in the ShaderA small script that contains the mathematical calculations and algorithms for calculating the Color of each pixel rendered, based on the lighting input and the Material configuration. More info See in Glossary (for example, the smoothness or the metalness), uncheck this box. This box is checked by default. |
Alpha Source | Use this to specify how the alpha channel of the Texture is generated. This is set to None by default. |
None | The imported Texture does not have an alpha channel, whether or not the input Texture has one. |
Input Texture Alpha | This uses the alpha from the input Texture if a Texture is provided. |
From Gray Scale | This generates the alpha from the mean (average) of the input Texture RGB values. |
Alpha is Transparency | If the alpha channel you specify is Transparency, enable Alpha is Transparency to dilate the color and avoid filtering artifacts on the edges. |
Advanced | |
Non Power of 2 | If the Texture has a non-power of two (NPOT) dimension size, this defines a scaling behavior at import time. See documentation on Importing Textures for more information on non-power of two sizes. This is set to None by default. |
None | Texture dimension size stays the same. |
To nearest | The Texture is scaled to the nearest power-of-two dimension size at import time. For example, a 257x511 px Texture is scaled to 256x512 px. Note that PVRTCPowerVR Texture Compression (PVRTC) is a fixed-rate texture format that compresses textures to significantly reduce file sizes without causing a noticable reduction in image quality. More info See in Glossary formats require Textures to be square (that is width equal to height), so the final dimension size is upscaled to 512x512 px. |
To larger | The Texture is scaled to the power-of-two dimension size of the largest dimension size value at import time. For example, a 257x511 px Texture is scaled to 512x512 px. |
To smaller | The Texture is scaled to the power-of-two dimension size of the smallest dimension size value at import time. For example, a 257x511 px Texture is scaled to 256x256 px. |
Read/Write Enabled | Check this box to enable access to the Texture data from script functions (such as Texture2D.SetPixels, Texture2D.GetPixels and other Texture2D functions). Note that a copy of the Texture data is made, doubling the amount of memory required for Texture AssetsAny media or data that can be used in your game or Project. An asset may come from a file created outside of Unity, such as a 3D model, an audio file or an image. You can also create some asset types in Unity, such as an Animator Controller, an Audio Mixer or a Render Texture. More info See in Glossary, so only use this property if absolutely necessary. This is only valid for uncompressed and DXT compressed Textures; other types of compressed textures cannot be read from. This property is disabled by default. |
Generate Mip Maps | Check this box to enable mipmap generation. Mipmaps are smaller versions of the Texture that get used when the Texture is very small on screen. See documentation on Importing Textures for more information on mipmaps. |
Border Mip Maps | Check this box to avoid colors bleeding out to the edge of the lower MIP levels. Used for light cookies (see below). This box is unchecked by default. |
Mip Map Filtering | There are two ways of mipmap filtering available for optimizing image quality. The default option is Box. |
Box | This is the simplest way to fade out mipmaps. The MIP levels become smoother as they go down in dimension size. |
Kaiser | A sharpening algorithm runs on the mipmaps as they go down in dimension size. Try this option if your Textures are too blurry in the distance. (The algorothm is of a Kaiser Window type - see Wikipedia for further information.) |
Fadeout Mip Maps | Enable this to make the mipmaps fade to gray as the MIP levels progress. This is used for detail maps. The left-most scroll is the first MIP level to begin fading out. The right-most scroll defines the MIP level where the Texture is completely grayed out. |
Wrap Mode | Select how the Texture behaves when tiled. The default option is Clamp. |
Repeat | The Texture repeats itself in tiles. |
Clamp | The Texture’s edges are stretched. |
Filter Mode | Select how the Texture is filtered when it gets stretched by 3D transformations. The default option is Point (no filter). |
Point (no filter) | The Texture appears blocky up close. |
Bilinear | The Texture appears blurry up close. |
Trilinear | Like Bilinear, but the Texture also blurs between the different MIP levels. |
Aniso Level | Increases Texture quality when viewing the Texture at a steep angle. Good for floor and ground Textures. See documentation on Importing Textures for more information on Anisotropic filtering. |
Property: | Function: |
---|---|
Texture Type | Select Normal map to turn the color channels into a format suitable for real-time normal mapping. |
Texture Shape | Use this to define the shape of the Texture. See documentation on the Texture Importer for information on all Texture shapes. |
Create from Greyscale | This creates the Normal Map from a greyscale heightmap. Check this to enable it and enabled it and see the Bumpiness and Filtering. This option is unchecked by default. |
Bumpiness | Control the amount of bumpiness. A low bumpiness value means that even sharp contrast in the heightmap is translated to gentle angles and bumps. A high value creates exaggerated bumps and very high-contrast lighting responses to the bumps. This option is only visible if Create from Greyscale is checked. |
Filtering | Determine how the bumpiness is calculated: |
Smooth | This generates Normal Maps with standard (forward differences) algorithms. |
Sharp | Also known as a Sobel filter, this generates Normal Maps that are sharper than Standard. |
Advanced | |
Non Power of 2 | If the Texture has a non-power of two (NPOT) dimension size, this defines a scaling behavior at import time. See documentation on Importing Textures for more information on non-power of two dimension sizes. This is set to None by default. |
None | Texture dimension size stays the same. |
To nearest | The Texture is scaled to the nearest power-of-two dimension size at import time. For example, a 257x511 px Texture is scaled to 256x512 px. Note that PVRTC formats require Textures to be square (width equal to height), so the final dimension size is upscaled to 512x512 px. |
To larger | The Texture is scaled to the power-of-two dimension size of the largest dimension size value at import time. For example, a 257x511 px Texture is scaled to 512x512 px. |
To smaller | The Texture is scaled to the power-of-two dimension size of the smallest dimension size value at import time. For example, a 257x511 px Texture is scaled to 256x256 px. |
Read/Write Enabled | Check this box to enable access to the Texture data from script functions (such as Texture2D.SetPixels, Texture2D.GetPixels and other Texture2D functions). Note that a copy of the Texture data is made, doubling the amount of memory required for Texture Assets, so only use this property if absolutely necessary. This is only valid for uncompressed and DXT compressed Textures; other types of compressed textures cannot be read from. This property is disabled by default. |
Generate Mip Maps | Check this box to enable mipmap generation. Mipmaps are smaller versions of the Texture that get used when the Texture is very small on screen. See documentation on Importing Textures for more information on mipmaps. |
Border Mip Maps | Check this box to avoid colors bleeding out to the edge of the lower MIP levels. Used for light cookies (see below). This box is unchecked by default. |
Mip Map Filtering | There are two ways of mipmap filtering available for optimizing image quality. The default option is Box. |
Box | This is the simplest way to fade out mipmaps. The MIP levels become smoother as they go down in dimension size. |
Kaiser | A sharpening algorithm runs on the mipmaps as they go down in dimension size. Try this option if your Textures are too blurry in the distance. (The algorothm is of a Kaiser Window type - see Wikipedia for further information.) |
Fadeout Mip Maps | Enable this to make the mipmaps fade to gray as the MIP levels progress. This is used for detail maps. The left-most scroll is the first MIP level to begin fading out. The right-most scroll defines the MIP level where the Texture is completely grayed out. |
Wrap Mode | Select how the Texture behaves when tiled. The default option is Clamp. |
Repeat | The Texture repeats itself in tiles. |
Clamp | The Texture’s edges are stretched. |
Filter Mode | Select how the Texture is filtered when it gets stretched by 3D transformations. The default option is Point (no filter). |
Point (no filter) | The Texture appears blocky up close. |
Bilinear | The Texture appears blurry up close. |
Trilinear | Like Bilinear, but the Texture also blurs between the different MIP levels. |
Aniso Level | Increases Texture quality when viewing the Texture at a steep angle. Good for floor and ground Textures. See documentation on Importing Textures for more information on Anisotropic filtering. |
Property: | Function: |
---|---|
Texture Type | Select Editor GUI and Legacy GUI if you are using the Texture on any HUD or GUI controls. |
Texture Shape | Use this to define the shape of the Texture. See documentation on the Texture Importer for information on all Texture shapes. |
Advanced | |
Alpha Source | Use this to specify how the alpha channel of the Texture is generated. This is set to None by default. |
None | The imported Texture does not have an alpha channel, whether or not the input Texture has one. |
Input Texture Alpha | This uses the alpha from the input Texture if a Texture is provided. |
From Gray Scale | This generates the alpha from the mean (average) of the input Texture RGB values. |
Alpha is Transparency | If the alpha channel you specify is Transparency, enable Alpha is Transparency to dilate the color and avoid filtering artifacts on the edges. |
Non Power of 2 | If the Texture has a non-power of two (NPOT) dimension size, this defines a scaling behavior at import time. See documentation on Importing Textures for more information on non-power of two sizes. This is set to None by default. |
None | Texture dimension size stays the same. |
To nearest | The Texture is scaled to the nearest power-of-two dimension size at import time. For example, a 257x511 px Texture is scaled to 256x512 px. Note that PVRTC formats require Textures to be square (width equal to height), so the final dimension size is upscaled to 512x512 px. |
To larger | The Texture is scaled to the power-of-two dimension size of the largest dimension size value at import time. For example, a 257x511 px Texture is scaled to 512x512 px. |
To smaller | The Texture is scaled to the power-of-two dimension size of the smallest dimension size value at import time. For example, a 257x511px Texture is scaled to 256x256. |
Read/Write Enabled | Check this box to enable access to the Texture data from script functions (such as Texture2D.SetPixels, Texture2D.GetPixels and other Texture2D functions). Note that a copy of the Texture data is made, doubling the amount of memory required for Texture Assets, so only use this property if absolutely necessary. This is only valid for uncompressed and DXT compressed Textures; other types of compressed textures cannot be read from. This property is disabled by default. |
Generate Mip Maps | Check this box to enable mipmap generation. Mipmaps are smaller versions of the Texture that get used when the Texture is very small on screen. See documentation on Importing Textures for more information on mipmaps. |
Border Mip Maps | Check this box to avoid colors bleeding out to the edge of the lower MIP levels. Used for light cookies (see below). This box is unchecked by default. |
Mip Map Filtering | There are two ways of mipmap filtering available for optimizing image quality. The default option is Box. |
Box | This is the simplest way to fade out mipmaps. The MIP levels become smoother as they go down in dimension size. |
Kaiser | A sharpening algorithm runs on the mipmaps as they go down in dimension size. Try this option if your Textures are too blurry in the distance. (The algorothm is of a Kaiser Window type - see Wikipedia for further information.) |
Fadeout Mip Maps | Enable this to make the mipmaps fade to gray as the MIP levels progress. This is used for detail maps. The left-most scroll is the first MIP level to begin fading out. The right-most scroll defines the MIP level where the Texture is completely grayed out. |
Wrap Mode | Select how the Texture behaves when tiled. The default option is Clamp. |
Repeat | The Texture repeats itself in tiles. |
Clamp | The Texture’s edges are stretched. |
Filter Mode | Select how the Texture is filtered when it gets stretched by 3D transformations. The default option is Point (no filter). |
Point (no filter) | The Texture appears blocky up close. |
Bilinear | The Texture appears blurry up close. |
Trilinear | Like Bilinear, but the Texture also blurs between the different MIP levels. |
Aniso Level | Increases Texture quality when viewing the Texture at a steep angle. Good for floor and ground Textures. See documentation on Importing Textures for more information on Anisotropic filtering. |
Property: | Function: |
---|---|
Texture Type | Select Sprite (2D and UI) if you are using the Texture in a 2D game as a SpriteA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info See in Glossary. |
Texture Shape | Use this to define the shape of the Texture. See documentation on the Texture Importer for information on all Texture shapes. |
Sprite mode | Use this setting to specify how the the Sprite graphic is extracted from the image. The default for this option is Single. |
Single | Use the Sprite image in isolation. |
Multiple | Keep multiple related Sprites together in the same image (for example, animation frames or separate Sprite elements that belong to a single game character). |
Packing Tag | Specify by name a Sprite atlasA texture that is composed of several smaller textures. Also referred as a texture atlas, image sprite, sprite sheet or packed texture. Sprite Atlas See in Glossary which you want to pack this Texture into. |
Pixels Per Unit | The number of 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 of width/height in the Sprite image that correspond to one distance unit in world space. |
Mesh Type | This defines the MeshThe main graphics primitive of Unity. Meshes make up a large part of your 3D worlds. Unity supports triangulated or Quadrangulated polygon meshes. Nurbs, Nurms, Subdiv surfaces must be converted to polygons. More info See in Glossary type that is generated for the Sprite. The default for this option is Tight. See the example images below for a comparison of the two Mesh types. |
Full Rect | This creates a quadA primitive object that resembles a plane but its edges are only one unit long, it uses only 4 vertices, and the surface is oriented in the XY plane of the local coordinate space. More info See in Glossary to map the Sprite onto it. |
Tight | This generates a Mesh based on pixel alpha value. The Mesh generated generally follows the shape of the Sprite. Note: Any Sprite that is smaller than 32x32 uses Full Rect, even when Tight is specified. |
Extrude EdgesA Texture property that enables you to define how much area to leave around a sprite in a generated mesh. See in Glossary |
Use the slider to determine how much area to leave around the Sprite in the generated Mesh. See the example images below for a comparison of two Extrude Edges values. |
Pivot | The location in the image where the Sprite’s local coordinate system originates. Choose one of the pre-set options, or select Custom to set your own Pivot location. |
Custom | Define the X and Y to set a custom Pivot location in the image. |
Advanced | |
sRGB (Color Texture) | Use this to specify whether or not the Texture is stored in gamma space. This should be the case for all non-HDR color Textures (such as Albedo and Specular Color). If the Texture stores information that has a specific meaning, and you need the exact values in the Shader (for example, the smoothness or the metalness), uncheck this box. |
Alpha Source | Use this to specify how the alpha channel of the Texture is generated. |
None | The imported Texture does not have an alpha channel, whether or not the input Texture has one. |
Input Texture Alpha | This uses the alpha from the input Texture. This option does not appear in the menu if there is no alpha in the imported Texture. |
From Gray Scale | This generates the alpha from the mean (average) of the input Texture RGB values. |
Alpha is Transparency | If the provided alpha channel is Transparency, enable Alpha is Transparency to dilate the color and avoid filtering artifacts on the edges. |
Read/Write Enabled | Check this box to enable access to the Texture data from script functions (such as Texture2D.SetPixels, Texture2D.GetPixels and other Texture2D functions). Note however that a copy of the Texture data will be made, doubling the amount of memory required for Texture Asset, so only use this property if absolutely necessary. This is only valid for uncompressed and DXT compressed Textures; other types of compressed textures cannot be read from. This property is disabled by default. |
Generate Mip Maps | Check this box to enable mipmap generation. Mipmaps are smaller versions of the Texture that get used when the Texture is very small on screen. See the Details section at the end of the page. |
Border Mip Maps | Select this to avoid colors bleeding out to the edge of the lower MIP levels. Used for Light Cookies (see below). |
Mip Map Filtering | There are two ways of mipmap filtering available for optimizing image quality: |
Box | This is the simplest way to fade out mipmaps. The MIP levels become smoother as they go down in dimension size. |
Kaiser | A sharpening algorithm runs on the mipmaps as they go down in dimension size. Try this option if your Textures are too blurry in the distance. (The algorothm is of a Kaiser Window type - see Wikipedia for further information.) |
Fadeout Mip Maps | Enable this to make the mipmaps fade to gray as the MIP levels progress. This is used for detail maps. The left-most scroll is the first MIP level to begin fading out. The right-most scroll defines the MIP level where the Texture is completely grayed out. |
Wrap Mode | Select how the Texture behaves when tiled: |
Repeat | The Texture repeats itself in tiles. |
Clamp | The Texture’s edges are stretched. |
Filter Mode | Select how the Texture is filtered when it gets stretched by 3D transformations: |
Point | The Texture appears blocky up close. |
Bilinear | The Texture appears blurry up close. |
Trilinear | Like Bilinear, but the Texture also blurs between the different MIP levels. |
Aniso Level | Increases Texture quality when viewing the Texture at a steep angle. Good for floor and ground Textures. See the Details section at the end of the page. |
Example: Mesh type
|
Full Rect|
Tight Mesh |
|:—|:—|
Example: Extrude Edges
|
Extrude Edges = 0|
Extrude Edges = 32 |
|:—|:—|
Property: | Function: |
---|---|
Texture Type | Select Cursor if you are using the Texture as a custom cursor. |
Texture Shape | Use this to define the shape of the Texture. See documentation on the Texture Importer for information on all Texture shapes. |
Advanced | |
Alpha Source | Use this to specify how the alpha channel of the Texture is generated. This is set to None by default. |
None | The imported Texture does not have an alpha channel, whether or not the input Texture has one. |
Input Texture Alpha | This uses the alpha from the input Texture if a Texture is provided. |
From Gray Scale | This generates the alpha from the mean (average) of the input Texture RGB values. |
Alpha is Transparency | If the alpha channel you specify is Transparency, enable Alpha is Transparency to dilate the color and avoid filtering artifacts on the edges. |
Non Power of 2 | If the Texture has a non-power of two (NPOT) dimension size, this defines a scaling behavior at import time. See documentation on Importing Textures for more information on non-power of two dimension sizes. This is set to None by default. |
None | Texture dimension size stays the same. |
To nearest | The Texture is scaled to the nearest power-of-two dimension size at import time. For example, a 257x511 px Texture is scaled to 256x512 px. Note that PVRTC formats require Textures to be square (width equal to height), so the final dimension size is upscaled to 512x512 px. |
To larger | The Texture is scaled to the power-of-two dimension size of the largest dimension size value at import time. For example, a 257x511 px Texture is scaled to 512x512 px. |
To smaller | The Texture is scaled to the power-of-two dimension size of the smallest dimension size value at import time. For example, a 257x511 px Texture is scaled to 256x256. |
Read/Write Enabled | Check this box to enable access to the Texture data from script functions (such as Texture2D.SetPixels, Texture2D.GetPixels and other Texture2D functions). Note that a copy of the Texture data is made, doubling the amount of memory required for Texture Assets, so only use this property if absolutely necessary. This is only valid for uncompressed and DXT compressed Textures; other types of compressed textures cannot be read from. This property is disabled by default. |
Generate Mip Maps | Check this box to enable mipmap generation. Mipmaps are smaller versions of the Texture that get used when the Texture is very small on screen. See documentation on Importing Textures for more information on mipmaps. |
Border Mip Maps | Check this box to avoid colors bleeding out to the edge of the lower MIP levels. Used for light cookies (see below). This box is unchecked by default. |
Mip Map Filtering | There are two ways of mipmap filtering available for optimizing image quality. The default option is Box. |
Box | This is the simplest way to fade out mipmaps. The MIP levels become smoother as they go down in dimension size. |
Kaiser | A sharpening algorithm runs on the mipmaps as they go down in dimension size. Try this option if your Textures are too blurry in the distance. (The algorothm is of a Kaiser Window type - see Wikipedia for further information.) |
Fadeout Mip Maps | Enable this to make the mipmaps fade to gray as the MIP levels progress. This is used for detail maps. The left-most scroll is the first MIP level to begin fading out. The right-most scroll defines the MIP level where the Texture is completely grayed out. |
Wrap Mode | Select how the Texture behaves when tiled. The default option is Clamp. |
Repeat | The Texture repeats itself in tiles. |
Clamp | The Texture’s edges are stretched. |
Filter Mode | Select how the Texture is filtered when it gets stretched by 3D transformations. The default option is Point (no filter). |
Point (no filter) | The Texture appears blocky up close. |
Bilinear | The Texture appears blurry up close. |
Trilinear | Like Bilinear, but the Texture also blurs between the different MIP levels. |
Aniso Level | Increases Texture quality when viewing the Texture at a steep angle. Good for floor and ground Textures. See documentation on Importing Textures for more information on Anisotropic filtering. |
Property: | Function: |
---|---|
Texture Type | Select Cookie to set your Texture up with the basic parameters used for the Cookies of your SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info See in Glossary’s Lights. |
Texture Shape | Use this to define the shape of the Texture. See documentation on the Texture Importer for information on all Texture shapes. |
Light Type | Define the type of Light that the Texture is applied to. Directional and Spotlight cookies must be 2D Textures, and Point Light Cookies must be cubemaps. The system automatically enforces the right shape depending on the Light type. For Directional Lights this Texture tiles, so in the Texture inspector set the Edge Mode to Repeat. For Spotlights, keep the edges of your Cookie Texture solid black to get the proper effect. In the Texture Inspector, set the Edge Mode to Clamp. |
Alpha is Transparency | If the alpha channel you specify is Transparency, enable Alpha is Transparency to dilate the color and avoid filtering artifacts on the edges. |
Advanced | |
Non Power of 2 | If the Texture has a non-power of two (NPOT) dimension size, this defines a scaling behavior at import time. See documentation on Importing Textures for more information on non-power of two sizes. This is set to None by default. |
None | Texture dimension size stays the same. |
To nearest | The Texture is scaled to the nearest power-of-two dimension size at import time. For example, a 257x511 px Texture is scaled to 256x512 px. Note that PVRTC formats require Textures to be square (width equal to height), so the final dimension size is upscaled to 512x512 px. |
To larger | The Texture is scaled to the power-of-two dimension size of the largest dimension size value at import time. For example, a 257x511 px Texture is scaled to 512x512 px. |
To smaller | The Texture is scaled to the power-of-two dimension size of the smallest dimension size value at import time. For example, a 257x511 px Texture is scaled to 256x256. |
Read/Write Enabled | Check this box to enable access to the Texture data from script functions (such as Texture2D.SetPixels, Texture2D.GetPixels and other Texture2D functions). Note that a copy of the Texture data is made, doubling the amount of memory required for Texture Assets, so only use this property if absolutely necessary. This is only valid for uncompressed and DXT compressed Textures; other types of compressed textures cannot be read from. This property is disabled by default. |
Generate Mip Maps | Check this box to enable mipmap generation. Mipmaps are smaller versions of the Texture that get used when the Texture is very small on screen. See documentation on Importing Textures for more information on mipmaps. |
Border Mip Maps | Check this box to avoid colors bleeding out to the edge of the lower MIP levels. Used for light cookies (see below). This box is unchecked by default. |
Mip Map Filtering | There are two ways of mipmap filtering available for optimizing image quality. The default option is Box. |
Box | This is the simplest way to fade out mipmaps. The MIP levels become smoother as they go down in dimension size. |
Kaiser | A sharpening algorithm runs on the mipmaps as they go down in dimension size. Try this option if your Textures are too blurry in the distance. (The algorothm is of a Kaiser Window type - see Wikipedia for further information.) |
Fadeout Mip Maps | Enable this to make the mipmaps fade to gray as the MIP levels progress. This is used for detail maps. The left-most scroll is the first MIP level to begin fading out. The right-most scroll defines the MIP level where the Texture is completely grayed out. |
Wrap Mode | Select how the Texture behaves when tiled. The default option is Clamp. |
Repeat | The Texture repeats itself in tiles. |
Clamp | The Texture’s edges are stretched. |
Filter Mode | Select how the Texture is filtered when it gets stretched by 3D transformations. The default option is Point (no filter). |
Point (no filter) | The Texture appears blocky up close. |
Bilinear | The Texture appears blurry up close. |
Trilinear | Like Bilinear, but the Texture also blurs between the different MIP levels. |
Aniso Level | Increases Texture quality when viewing the Texture at a steep angle. Good for floor and ground Textures. See documentation on Importing Textures for more information on Anisotropic filtering. |
Property: | Function: |
---|---|
Texture Type | Select LightmapA pre-rendered texture that contains the effects of light sources on static objects in the scene. Lightmaps are overlaid on top of scene geometry to create the effect of lighting. More info See in Glossary if you are using the Texture as a Lightmap. This option enables encoding into a specific format (RGBM or dLDR, depending on the platform) and a post-processing step on Texture data (a push-pull dilation pass). |
Texture Shape | Use this to define the shape of the Texture. See documentation on the Texture Importer for information on all Texture shapes. |
Advanced | |
Non Power of 2 | If the Texture has a non-power of two (NPOT) dimension size, this defines a scaling behavior at import time. See documentation on Importing Textures for more information on non-power of two dimension sizes. This is set to None by default. |
None | Texture size stays the same. |
To nearest | The Texture is scaled to the nearest power-of-two dimension size at import time. For example, a 257x511 px Texture is scaled to 256x512 px. Note that PVRTC formats require Textures to be square (width equal to height), so the final dimension size is upscaled to 512x512 px. |
To larger | The Texture is scaled to the power-of-two dimension size of the largest size value at import time. For example, a 257x511 px Texture is scaled to 512x512 px. |
To smaller | The Texture is scaled to the power-of-two dimension size of the smallest dimension size value at import time. For example, a 257x511 px Texture is scaled to 256x256 px. |
Read/Write Enabled | Check this box to enable access to the Texture data from script functions (such as Texture2D.SetPixels, Texture2D.GetPixels and other Texture2D functions). Note that a copy of the Texture data is made, doubling the amount of memory required for Texture Assets, so only use this property if absolutely necessary. This is only valid for uncompressed and DXT compressed Textures; other types of compressed textures cannot be read from. This property is disabled by default. |
Generate Mip Maps | Check this box to enable mipmap generation. Mipmaps are smaller versions of the Texture that get used when the Texture is very small on screen. See documentation on Importing Textures for more information on mipmaps. |
Border Mip Maps | Check this box to avoid colors bleeding out to the edge of the lower MIP levels. Used for light cookies (see below). This box is unchecked by default. |
Mip Map Filtering | There are two ways of mipmap filtering available for optimizing image quality. The default option is Box. |
Box | This is the simplest way to fade out mipmaps. The MIP levels become smoother as they go down in dimension size. |
Kaiser | A sharpening algorithm runs on the mipmaps as they go down in dimension size. Try this option if your Textures are too blurry in the distance. (The algorothm is of a Kaiser Window type - see Wikipedia for further information.) |
Fadeout Mip Maps | Enable this to make the mipmaps fade to gray as the MIP levels progress. This is used for detail maps. The left-most scroll is the first MIP level to begin fading out. The right-most scroll defines the MIP level where the Texture is completely grayed out. |
Wrap Mode | Select how the Texture behaves when tiled. The default option is Clamp. |
Repeat | The Texture repeats itself in tiles. |
Clamp | The Texture’s edges are stretched. |
Filter Mode | Select how the Texture is filtered when it gets stretched by 3D transformations. The default option is Point (no filter). |
Point (no filter) | The Texture appears blocky up close. |
Bilinear | The Texture appears blurry up close. |
Trilinear | Like Bilinear, but the Texture also blurs between the different MIP levels. |
Aniso Level | Increases Texture quality when viewing the Texture at a steep angle. Good for floor and ground Textures. See documentation on Importing Textures for more information on Anisotropic filtering. |
Property: | Function: |
---|---|
Texture Type | Select Single Channel if you only need one channel in the Texture. |
Texture Shape | Use this to define the shape of the Texture. See documentation on the Texture Importer for information on all Texture shapes. |
Alpha Source | Use this to specify how the alpha channel of the Texture is generated. This is set to None by default. |
None | The imported Texture does not have an alpha channel, whether or not the input Texture has one. |
Input Texture Alpha | This uses the alpha from the input Texture if a Texture is provided. |
From Gray Scale | This generates the alpha from the mean (average) of the input Texture RGB values. |
Alpha is Transparency | If the alpha channel you specify is Transparency, enable Alpha is Transparency to dilate the color and avoid filtering artifacts on the edges. |
Advanced | |
Non Power of 2 | If the Texture has a non-power of two (NPOT) dimension size, this defines a scaling behavior at import time. See documentation on Importing Textures for more information on non-power of two sizes. This is set to None by default. |
None | Texture dimension size stays the same. |
To nearest | The Texture is scaled to the nearest power-of-two dimension size at import time. For example, a 257x511 px Texture is scaled to 256x512 px. Note that PVRTC formats require Textures to be square (width equal to height), so the final dimension size is upscaled to 512x512 px. |
To larger | The Texture is scaled to the power-of-two dimension size of the largest dimension size value at import time. For example, a 257x511 px Texture is scaled to 512x512 px. |
To smaller | The Texture is scaled to the power-of-two dimension size of the smallest size value at import time. For example, a 257x511 px Texture is scaled to 256x256. |
Read/Write Enabled | Check this box to enable access to the Texture data from script functions (such as Texture2D.SetPixels, Texture2D.GetPixels and other Texture2D functions). Note that a copy of the Texture data is made, doubling the amount of memory required for Texture Assets, so only use this property if absolutely necessary. This is only valid for uncompressed and DXT compressed Textures; other types of compressed textures cannot be read from. This property is disabled by default. |
Generate Mip Maps | Check this box to enable mipmap generation. Mipmaps are smaller versions of the Texture that get used when the Texture is very small on screen. See documentation on Importing Textures for more information on mipmaps. |
Border Mip Maps | Check this box to avoid colors bleeding out to the edge of the lower MIP levels. Used for light cookies (see below). This box is unchecked by default. |
Mip Map Filtering | There are two ways of mipmap filtering available for optimizing image quality. The default option is Box. |
Box | This is the simplest way to fade out mipmaps. The MIP levels become smoother as they go down in dimension size. |
Kaiser | A sharpening algorithm runs on the mipmaps as they go down in dimension size. Try this option if your Textures are too blurry in the distance. (The algorothm is of a Kaiser Window type - see Wikipedia for further information.) |
Fadeout Mip Maps | Enable this to make the mipmaps fade to gray as the MIP levels progress. This is used for detail maps. The left-most scroll is the first MIP level to begin fading out. The right-most scroll defines the MIP level where the Texture is completely grayed out. |
Wrap Mode | Select how the Texture behaves when tiled. The default option is Clamp. |
Repeat | The Texture repeats itself in tiles. |
Clamp | The Texture’s edges are stretched. |
Filter Mode | Select how the Texture is filtered when it gets stretched by 3D transformations. The default option is Point (no filter). |
Point (no filter) | The Texture appears blocky up close. |
Bilinear | The Texture appears blurry up close. |
Trilinear | Like Bilinear, but the Texture also blurs between the different MIP levels. |
Aniso Level | Increases Texture quality when viewing the Texture at a steep angle. Good for floor and ground Textures. See documentation on Importing Textures for more information on Anisotropic filtering. |