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 can i prevent textures from stretching while resizing a mesh?

So, i want to make a long wall for a horror game, but when i stretch out the cube mesh it stretches the texture too, making it very low res and really stretched. how can i prevent that? is there like a box to untick? please help!

Product Version: UE 4.14
Tags:
more ▼

asked Feb 13 '17 at 06:36 AM in Using UE4

avatar image

TroyRedstone
1 1 1 1

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

4 answers: sort voted first

Have a look at UV coordinates. From the UV node of your texture, drag out and type "Tex coord" to get a Texture Coordinate node. On that node you will find options to tile either X or Y (U or V in texture space).

more ▼

answered Feb 13 '17 at 07:13 AM

avatar image

keyle
1.8k 66 27 90

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

Hi man, i am not sure that you can get the perfect resize of the texture. There are two ways, the one posted by Keyle otherwise you have to create by costruction script a lot of tiny walls (static mesh).... you cant have a wall with a particular length lets say 12.78 m... only multiple of your mesh. Both side have some work and problems...

more ▼

answered Feb 13 '17 at 11:41 AM

avatar image

Est_engine
1.2k 58 12 62

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

Hey take a look at this video he explains it pretty well on how to achieve something like this: Scale Independent UVs for UE4

more ▼

answered Feb 13 '17 at 11:52 AM

avatar image

Keval Shreyas
41 1 3

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

Thanks guys! i opted to just hook a textureCoordinate onto the UV of all textures in the blueprint, also i added a multiplier and a changeable value so i can dynamically change it in game. Again thanks!

more ▼

answered Feb 13 '17 at 08:19 PM

avatar image

TroyRedstone
1 1 1 1

(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