Announcement

Collapse
No announcement yet.

How to prevent material from scaling with a static mesh

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to prevent material from scaling with a static mesh

    I'm new to UE and just wondering if there is a way to prevent a material from scaling with a static mesh. I'm scaling some basic static meshes to quickly prototype a level, and it's producing very ugly stretched out materials.
    CrashGame (Working title for my survival/exploration game) - YouTube

    #2
    No, UE4 doesn't have that type of mapping. You could you would have to adjust the texture tiling within your material.

    Comment


      #3
      Use worldpos as texture coordinates. UE4 comes with a function for world aligned textures, try that.

      Comment


        #4
        Are you looking for something like this?

        Click image for larger version

Name:	1aaa48c601.jpg
Views:	1
Size:	137.7 KB
ID:	1052414
        Click image for larger version

Name:	2a494ec9d6.jpg
Views:	1
Size:	144.4 KB
ID:	1052413

        If this will work for you, I basically just scaled the UVs by the Z scale of the mesh as I will only ever uniformly scale that sphere.

        Click image for larger version

Name:	a3976084ea.jpg
Views:	1
Size:	19.3 KB
ID:	1052415

        Comment

        Working...
        X