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"

How to tile materials on static meshes

Hello.

I was following the C++ tutorial, and when the author dropped materials on to the static mesh floor and walls of the 3rd Person Template she got this:

alt text

But when I did the same I got this:

alt text

Why are the materials not tiling, and how do I make them tile independent of the size of the mesh?

Product Version: UE 4.9
Tags:
inthetutorial.png (163.8 kB)
myproblem.png (335.6 kB)
more ▼

asked Oct 07 '15 at 09:02 PM in Using UE4

avatar image

Timmeh_ZA
111 12 15 19

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

1 answer: sort voted first

Hi Timmeh_ZA,

You can do this by using a Texture Coordinate node and adjusting the U and V values.

You can read more about this node here: https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/ExpressionReference/Coordinates/index.html#texturecoordinate

Thank you!

Tim

more ▼

answered Oct 07 '15 at 10:25 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

avatar image Timmeh_ZA Oct 08 '15 at 02:02 AM

Hey Tim,

Thanks for the response.

I think what I was looking for was the WorldAlignedTexture node.

alt text

Using that, I was able to get tiling independent of mesh size:

alt text

But now how do I sample those world aligned textures to access specific channels?

I found this,

https://forums.unrealengine.com/showthread.php?60332-Extracting-channels-from-texture-objects

but I cant figure out how to get the "Tex" input pin on the Texture Sample node.

(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