How do I tile a texture?


Say I want to make a floor out of a material, for this instance I’ll use brick_clay_beveled

Now I want to expand it, so the game area isn’t that small.

Thing is though, when I do that, it starts stretching instead of tiling:


How can I make it tile instead of stretching?

Hi!

You can modify M_Brick_Clay_Beveled and add tiling.

Can you give like a step by step? I don’t understand 90% of what you showed

In Material Editor go to tab Palette. And in Search field type “Scalar”. Select and drag with left mouse button Scalar Parameter node. Rename it “Tile”.

41569-addparam.png

And where are “parameter groups” with the tile option?

Okay, so I created a new material instance with the material as parent and checked the Tile option and set it to 1.0
It still doesn’t tile…
I did try setting “element 0” to the instance too, but no luck…
EDIT: I realised I needed to set it to 5,0 or something.
Now how do I make it not look ugly and stretched but instead make it tile like shown on the left side of the picture without having to copy paste it to make like turns and edges?

If it’s a BSP brush that you’re using for your floor you could just use the alignment tool that you find by selecting the floor and scrolling down the details panel until you see “Alignment”. That would tile the object for you without stretching it.

I can’t find the alignment tool, nor the option to put a material on a BSP brush

Hey, once you place a BSP brush object on your level and select it by clicking it from the perspective screen, you should be able to see the “Geometry” tab where you can choose the alignment you want. And as for the material, just browse your material from the “Surface Materials” tab in the same details panel or drag and drop it on the brush.