x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Texture tileset with material editor.

Hi ! I have a texture with multiple 16x16 tiles on it. I want to know how to use a specific tile of my texture like: The 3rd of the 1st line.

I've managed to scale my texture with "TexCoord" but I can't do better.

For info, a tileset look like this: alt text

Product Version: UE 4.12
Tags:
more ▼

asked Aug 23 '16 at 05:07 PM in Using UE4

avatar image

Hatomike
3 1 2 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

you can scale the UV coordinates by multiplying, and offset the UV coordinates by adding.

https://answers.unrealengine.com/questions/228749/show-part-of-a-texture.html

more ▼

answered Aug 23 '16 at 07:24 PM

avatar image

ScottSpadea
9.6k 320 205 450

avatar image Hatomike Aug 23 '16 at 07:48 PM

Perfect ! Exactly what I need. Thanks a lot.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

By the looks of your atlas, I'm assuming that this is for a 2D scene. You shouldn't use material editor or texcoord for sprites. You have to follow the Paper2D system workflow meaning that When you import your 2D atlas to create individual sprites.

In the sprites' settings you would be able to specify the location of your tile in the source atlas/texture.

you can do this by simply right click on the texture file in content browser> Sprite Actions>Create Sprite then double click your sprite to change settings.

here's the documentation on it: https://docs.unrealengine.com/latest/INT/Engine/Paper2D/Sprites/

more ▼

answered Aug 23 '16 at 05:14 PM

avatar image

elijahdar
36 2 2 4

avatar image Hatomike Aug 23 '16 at 05:18 PM

The material that I'm creating is supposed to be added on a 3D mesh. I'm not trying to create a 2D game. I just want to store multiple UV maps for the same object in a single file.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question