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 'lock' UVs on scaled meshes?

I have a mesh that I want to scale depending on where it is being used. It is a piece of a building wall. When I scale the mesh, the UVs also scale, as expected. However, how can I 'lock' the UVs so that they do not scale with the actor?

Product Version: UE 4.16
Tags:
more ▼

asked Jun 12 '17 at 09:16 AM in Using UE4

avatar image

blinkimage
5 1 2 2

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

2 answers: sort voted first

here you got the world aligned version, probably the one fit better with your project.

alt text

worldaligned.jpg (194.6 kB)
more ▼

answered Jun 12 '17 at 12:15 PM

avatar image

Micky
146 7 6 8

avatar image blinkimage Jun 12 '17 at 02:09 PM

Fabulous - thanks Micky.

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

You can do it from the material editor. Put a "texture coordinate" node and multiply it for a fraction of the "Object Radius" node.

Another way is using the "WorldAlignedTexture" node

more ▼

answered Jun 12 '17 at 09:35 AM

avatar image

Micky
146 7 6 8

avatar image blinkimage Jun 12 '17 at 09:46 AM

Interesting. I attach a screen grab to perhaps get a bit more help. alt text And this is the basic normal map I am using to make the walls look 'ribbed'. alt text This piece of texture would equate to around 50x50cm. Would your suggestion work in this case, and if so, can you elaborate?

(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