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"

Tiling for the cube with fixed size of brick

I gonna spawn variety of 3D-boxes based on the one Cube Mesh by changing the scale for each axes. In that case, size of bricks will be different for each face.

How may I do the same size of brick that does not depend on the scale?

I see one way only with the individual UVs for each face and adjusting it using the Texture Coordinate node and the variables that correspond to the scales.

May be you know more easiest way?

Product Version: UE 4.16
more ▼

asked Jul 11 '17 at 09:07 AM in Blueprint Scripting

avatar image

49 10 12 20

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first
more ▼

answered Dec 08 '17 at 09:37 AM

avatar image

49 10 12 20

(comments are locked)
10|2000 characters needed characters left

You can create a variable in the material that controls the scale of the texture uv's, then set that variable in the material on each instanced cube when you spawn it.



//hope that helped, glhf

more ▼

answered Jul 11 '17 at 10:36 AM

avatar image

376 12 5 17

avatar image SvarogZ Jul 11 '17 at 10:50 AM

Yes, thank you.

Actually this is not 3D-cube. This is 3D-box! It means all faces will have an individual scale. It's possible to solve this way using individual UV as I told above.

However, I asked alternative ways.

(comments are locked)
10|2000 characters needed characters left
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