The 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 Editor’s Secondary Textures module can associate additional Textures with edited Sprites. A ShaderA program that runs on the GPU. More info
See in Glossary can then sample these secondary Textures to apply additional effects on the Sprite, such as normal mapping. Secondary Textures are currently only supported by Sprite RenderersA component that lets you display images as Sprites for use in both 2D and 3D scenes. More info
See in Glossary and are not available for other Renderer components.
To use this functionality, select the Secondary Textures module from the drop-down menu at the top left of the Sprite Editor window.
To add a new Secondary Texture entry, select the ‘‘+’’ at the bottom right of the Secondary Textures panel. You can add a maximum of eight Secondary Textures to each Sprite or Sprite Sheet. Each added Secondary Texture appears as an entry on the list, with two fields: Name and Texture.
You can enter a custom name for the Secondary Texture in the Name field. Some Unity packages suggest Texture names that can be used with their Shaders. The drop-down arrow to the right of the Name field displays a list of valid suggested names. Suggested names remain in the drop-down menu even after their associated packages are uninstalled.
To select the Texture used by the Secondary Texture, drag the Texture Asset directly onto the Texture field, or open the Object Picker window by selecting the circle to the right of the field.
Secondary Textures are sampled with the same UV coordinates as the main Sprite Texture. Align the Secondary Textures with the main Sprite Texture to ensure that additional Texture effects are displayed correctly.
To preview the Secondary Texture in the Sprite Editor window with the main Sprite Texture hidden, select an entry in the list. Click outside of the Secondary Textures list to deselect the entry, and the main Sprite Texture is visible again.
To delete a Secondary Texture from the list, select it and then select the ‘-’ button at the bottom right of the window.
To apply your changes to the edited Sprites, select Apply on the toolbarA row of buttons and basic controls at the top of the Unity Editor that allows you to interact with the Editor in various ways (e.g. scaling, translation). More info
See in Glossary. Entries without a Name or selected Texture are considered invalid and are automatically removed when changes are applied.
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.