# Creating a material out of a sprite.

**URL:** <https://forums.unrealengine.com/t/creating-a-material-out-of-a-sprite/329797>\
**Category:** Rendering\
**Tags:** sprites, unreal-engine, UE4, question\
**Created:** [August 24, 2015, 11:10pm UTC](https://forums.unrealengine.com/t/creating-a-material-out-of-a-sprite/329797 "2015-08-24T23:10:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![V0ldek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@V0ldek](https://forums.unrealengine.com/u/V0ldek)\
**Post date:** [August 24, 2015, 11:10pm UTC](https://forums.unrealengine.com/t/creating-a-material-out-of-a-sprite/329797/1 "2015-08-24T23:10:12Z")

</div>

I’d like to create a material that uses a sprite instead of a texture. How do I do that?  
Also, I’d want the sprite to be repeated throughout the object I apply it on, instead of being streched out, how to do that?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d4005ccc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d4005ccc](https://forums.unrealengine.com/u/anonymous_user_d4005ccc)\
**Post date:** [August 24, 2015, 11:27pm UTC](https://forums.unrealengine.com/t/creating-a-material-out-of-a-sprite/329797/2 "2015-08-24T23:27:32Z")

</div>

You can use a **Sprite Texture** in a Material but **Sprites are just textures mapped to a planar mesh**. It wouldn’t make sense for them to be used in a Material; it would be similar to asking how can I add a Static Mesh or Skeletal Mesh to a Material.

---

<div class="post-metadata">

**Author:** ![Devero](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Devero](https://forums.unrealengine.com/u/Devero)\
**Post date:** [August 24, 2015, 11:28pm UTC](https://forums.unrealengine.com/t/creating-a-material-out-of-a-sprite/329797/3 "2015-08-24T23:28:49Z")

</div>

Here is some good info:

> **[Paper 2D Sprites](https://docs.unrealengine.com/4.27/en-US/AnimatingObjects/Paper2D/Sprites/)**
>
> Description of Sprites in Unreal Engine 4 and how to create them.

For the tiling, you need to input a TexCoord in the textuer sampler node “UV”. In the detail panels of the TexCoord Node, you can set the tiling properties.

Hope that helps =)

---

<div class="post-metadata">

**Author:** ![V0ldek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@V0ldek](https://forums.unrealengine.com/u/V0ldek)\
**Post date:** [August 25, 2015, 12:01am UTC](https://forums.unrealengine.com/t/creating-a-material-out-of-a-sprite/329797/4 "2015-08-25T00:01:04Z")

</div>

I’ve read the documentation earlier but couldn’t understand it 🙂  
Right at the bottom, on that picture out of Material Editor, I don’t know what is and how to get the TexCoord and SpriteTexture node.

---

<div class="post-metadata">

**Author:** ![Devero](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Devero](https://forums.unrealengine.com/u/Devero)\
**Post date:** [August 25, 2015, 12:03am UTC](https://forums.unrealengine.com/t/creating-a-material-out-of-a-sprite/329797/5 "2015-08-25T00:03:29Z")

</div>

Then this set of videos will be extremely useful for getting around the material editor.

https://www.youtube.com/embed/videoseries?list=PLZlv_N0_O1gbQjgY0nDwZNYe_N8IcYWS-&wmode=transparent&rel=0&autohide=1&showinfo=1&enablejsapi=1

Good luck =)

---

<div class="post-metadata">

**Author:** ![V0ldek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@V0ldek](https://forums.unrealengine.com/u/V0ldek)\
**Post date:** [August 25, 2015, 12:42am UTC](https://forums.unrealengine.com/t/creating-a-material-out-of-a-sprite/329797/6 "2015-08-25T00:42:54Z")

</div>

Thanks, that was really helpful!  
But still, I don’t know how to apply sprites onto an object. Maybe I’ll describe in more detail what I’m trying to do:  
I’d like to have a plane that is covered in repeated sprites. Moreover, the sprites are drawn in isometric projection, so I need them to cover up the entire plane without blank spaces. First of all I’m trying to even apply the sprite onto the plane, so, how do I do that using the TexCoord and the SpriteTextureSampler?

---

<div class="post-metadata">

**Author:** ![Chasea101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chasea101](https://forums.unrealengine.com/u/Chasea101)\
**Post date:** [September 13, 2024, 4:33pm UTC](https://forums.unrealengine.com/t/creating-a-material-out-of-a-sprite/329797/7 "2024-09-13T16:33:55Z")

</div>

I know this thread is old. But you can just use a flipbook node if you want to import animated sprite sheets. Import the sprite as a texture object then connect the necessary rows and columns to the flipbook node.

 ![Screenshot 2024-09-13 122716](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/5/3a5027fccca915e9673f1dbeee8b8a71e32adf53.jpeg)
