This is the testing Godot forums! All forum posts unique to this forum will be deleted! Please use the main forums here for any posts you want to keep. All forum rules still apply.

Make material tile more on larger objects instead of stretching

xVlad420xxVlad420x Posts: 6Member

I created a brick material that I tested on a 1x1x1 cube and it looked good. After applying this material to a larger surface, the material got really stretched, although I just wanted it to tile more. How do I make materials tile more on larger objects instead of stretching?

Comments

  • MegalomaniakMegalomaniak Posts: 2,580Admin

    Is it a spatial material or custom shader? in case of a spatial material there's the UV scale options you can adjust for it. Or might even want to try out the world triplanar mapping as well.

  • xVlad420xxVlad420x Posts: 6Member

    It is a spacial material. I am aware of the UV scale and how it changes the tiling on the object. However, For example, a 4x4x4 cube's material looks a lot more stretched than a 1x1x1 cube's material, although they have the same UV scale. I want the material to not stretch out like this. I know I could create a new material and change the UV scale for every single object, but isn't there a less labor intensive solution? To state more simply: I want the material on both cubes to look the same, there should just be more bricks on the larger one.

  • xVlad420xxVlad420x Posts: 6Member

  • MegalomaniakMegalomaniak Posts: 2,580Admin

    Toggle the triplanar option on under the UV settings and make sure the world triplanar flag is also set to be on.

  • xVlad420xxVlad420x Posts: 6Member

    Thank you, this solved my problem!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.