Texture Editor Tools

texture_importer

Texture Filtering

  • Point - This filter is the fastest but does not perform any blending. It is useful for pixel graphics or UI.

  • Bilinear - This filter is slower than Point, but it performs blending between pixels.

  • Anisotropic - More expensive than Bilinear, but provides better quality for textures viewed at oblique angles.

Anisotropic Level

Anisotropic level for texture filtering. It is used only if the filter is set to Anisotropic. It can be between 1 and 16. The higher the value, the better the quality of the texture, but the more expensive it is to render.

Texture Wrapping

texture_address
These are rules for how a texture should be sampled when UV coordinates are outside the [0, 1] range.
  • Wrap - Repeats texture UV coordinates.

  • Mirror - Mirrors UV coordinates.

  • Clamp - Clamps texture UV coordinates. Samples border pixels.

  • Border - Samples zero values for border pixels.

  • MirrorOnce - Mirrors only once for positive UV coordinates.

Usage

The .meta key is usage.
Usage tells what the texture holds. It selects the sRGB color space and the texture format for you.
The importer sets it from the file name suffix (_normal gives NormalMap, _roughness gives LinearGrayscale).
  • Color - Color images: albedo, diffuse, emission. sRGB.

  • NormalMap - Normal maps. Linear.

  • LinearGrayscale - One linear channel: roughness, metalness, ambient occlusion, height, mask. Stored in one channel.

  • LinearRGBA - Several linear channels packed in one image (ORM, specular). Linear.

  • Sprite2D - 2D and UI art, which can be sliced into sprites. Never compressed and without mip levels.

A texture without a usage (made by an old editor version) uses the sRGB and Formats settings below. The importer shows an upgrade button for it.

Compress Texture

The .meta key is compressTexture.
Block compression: about 4 to 8 times less memory, with small quality loss.
Color and LinearRGBA use DXT5 (DXT1 when the image has no alpha), NormalMap uses ATI2N, LinearGrayscale uses ATI1N.
A compressed texture with mip levels needs sides that are powers of two; without mip levels, sides that are multiples of 4.
Other sizes are not compressed, and the build log has a warning.

Flip Green Channel

The .meta key is flipGreenChannel. Only for the NormalMap usage of a texture or a texture array.
Eden reads normal maps in the DirectX convention (Y-): green points down the image.
glTF, Blender, Unity and the OpenGL exports of Substance use the OpenGL convention (Y+): green points up the image.
Turn this option on for an OpenGL normal map: the import inverts its green channel.
If light from above lights the bottom of the bumps, the normal map has the other convention: switch the option.

Sprites

The .meta block is sprites{}.
A Sprite2D texture can be sliced into named sprites with the Sprite Editor. Each sprite has:
  • Name - the name that a sprite reference uses. A repeated name gets #1, #2.

  • Rect - x, y, width and height in pixels. It is clamped to the texture.

  • Pivot - the anchor point inside the rect, from 0 to 1. Default 0.5, 0.5.

  • Border - the 9-slice borders in pixels: left, top, right, bottom.

A Sprite2D texture without sprites has one sprite that covers the whole texture, named after the file in lowercase (Hero Idle.png gives hero idle).

sRGB Color Space

sRGB is a standard RGB (red, green, blue) color space.
If you are using color textures, you should enable this option.
It will convert texture colors from sRGB to linear space.
This allows the render engine to perform correct lighting calculations in linear space.

If you are using non-color textures (normal maps, AO, flowmap), you should disable this option.

Generate Mip Levels

For textures used in 3D rendering, it is recommended to enable this option.

It will generate mip levels for this texture.
Mip levels are a standard technique to improve performance and quality of rendering.
They allow the use of lower resolution textures for distant objects,
and reduce aliasing artifacts.

For 2D textures, you can disable this option to save memory and decrease texture import time.

Formats

We support numerous texture formats. You can choose one of them for your texture.
The most popular is ARGB32.
For large textures, the use of compressed formats is recommended.
texture_formats_0
  • A8R8G8B8 - 32-bit ARGB pixel format with alpha, using 8 bits per channel.

  • A2R10G10B10 - 32-bit ARGB pixel format using 10 bits for each color channel and 2 bits for alpha.

  • A2B10G10R10 - 32-bit ABGR pixel format using 10 bits for each color channel and 2 bits for alpha.

  • A16B16G16R16 - 64-bit ARGB pixel format using 16 bits for each channel.

  • G16R16 - 32-bit RG pixel format using 16 bits for each channel.

  • R8 - 8-bit red channel only.

  • A8 - 8-bit alpha channel only.

texture_formats_1
  • A32B32G32R32F - 128-bit ARGB pixel format using 32 bits for each channel (float).

  • G32R32F - 64-bit RG pixel format using 32 bits for each channel (float).

  • R32F - 32-bit red channel only (float).

  • A16B16G16R16F - 64-bit ARGB pixel format using 16 bits for each channel (half).

  • G16R16F - 32-bit RG pixel format using 16 bits for each channel (half).

  • R16F - 16-bit red channel only (half).

texture_formats_2
  • A32B32G32R32UI - 128-bit ARGB pixel format using 32 bits for each channel (unsigned int).

  • R32G32UI - 64-bit RG pixel format using 32 bits for each channel (unsigned int).

  • R32UI - 32-bit red channel only (unsigned int).

  • A16B16G16R16UI - 64-bit ARGB pixel format using 16 bits for each channel (unsigned int).

  • R8UI - 8-bit red channel only (unsigned int).

texture_formats_4
  • DXT1 - DXT1 compressed format. Doesn’t support alpha. Compression ratio 6:1.

  • DXT3 - DXT3 compressed format. Has sharp alpha. Compression ratio 4:1.

  • DXT5 - DXT5 compressed format. Has gradient alpha. Compression ratio 4:1.

  • ATI1N - ATI1N compressed format, also known as BC4. Single red channel map. Compression ratio 8:1.

  • ATI2N - ATI2N compressed format, also known as BC5. Two channel map. Compression ratio 4:1.

Warning

Compressed formats are lossy. This means you can lose some quality in your texture. However, it is a good trade-off between quality and memory usage.

Warning

Texture compression is platform-dependent. This means different platforms can have different texture compression formats. That is not yet properly supported.

Preview

texture_importer_preview
Here you can preview your texture.
You can see the resolution and mip count.
texture_importer_preview_filters
There is an option to set up a per-channel filter to view only the required channel.
texture_importer_preview_mips
You can also check the mip levels of your texture.