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"

Placing texture/material over object without scaling

Hi there, I've been starting to work with textures and materials and would like to know if it is possible to set the initial texture/material to the 1,1,1 scale of a cube/plane object.

alt text This is the texture that I am using temporarily for testing, a square image of 1024x1024. I basically want this specific image to be placed on a cube object where the object/mesh scale of 1,1,1 would place this texture perfectly across it once on each face. alt text This is what I am using to create the material (Many tutorials I had seen had suggest Texturecoord to make a tiling texture but using worldalignedtexture works perfectly for me as I am using this texture for floors/walls of currently unknown size so the continual tiling without stretching is perfect for me). alt text The resultant material when applied to a cube mesh works perfectly for a floor size larger than 1,1,1 as it tiles as I want it to, but I would prefer if the initial texture pasted perfectly across the 1,1,1 (1,1,0.1 in this specific case) so when I scale the floor object later when building levels, there are no edges with a small part of texture being cut off/placed. I will only be working with integer scale numbers for the floor object size. alt text This final image is just to show a larger scaled version of the floor object where you can see that a small part of the square texture cuts off at the edge following how the material places on the initial floor object of scale 1,1,1.

I generally have quite a few issues working with UE4 materials so I was wondering if anyone knew any good tutorials excluding the official EpicGames ones perhaps going more in depth.

Product Version: UE 4.12
texture.png (426.2 kB)
material.png (420.2 kB)
floor object.png (739.7 kB)
in game view.png (959.9 kB)
more ▼

asked Jul 01 '16 at 10:55 PM in Blueprint Scripting

avatar image

36 5 7 14

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

0 answers: sort voted first
Be the first one to answer this question
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