I am new to both applications, which is obviously an issue for me but I am able to get down to the part where we actually start importing into UE4.
In step 3 of âTerrain Material Setup in UE4â it wants me to import the weightmaps I exported from World Machine. They had me export them as raw, but UE4 wonât import that type and I canât just open them in gimp to rename them it seems.
Can someone get me moving down the right path again? I am using the latest version of both UE4 and World Machine (pro), and I am happy to fill in any detail that I can.
Okay, you need to build the Material as instructed in the âTerrain Material Setup in UE4â step. The important part is to have all your weightmap layers linked in your material. You donât need any images attached, you can work on that later, you just need the weight layers properly named (Rock Layer, Grass Layer, and so on) and all linked into one of the channels, usually the base color.
Then, when you get to the âTiled Landscape Importâ step, look at this image:
After selecting the material you made, a list of file fields will appear. (Listed as Low, Mid and High in the image.) This is where you choose the raw files you created. So for your Grass Layer, you would choose the RAW weightmap for the grass. Same with dirt, rock or whatever you export.
Thank you much, I couldnât figure out how to get to that menu, but it looks like my issue was more basic. I needed to turn on world composition and open that editor etc down the line.
So my snags so far seem to be that the wiki page is out of date, understandable, it happens when things move forward. Well, not really as much out of date as it seems the workflow has changed, and the order is off.
I have everything loaded, and I think everything is done except one step (I have the steps after done as well).
In the Terrain Material Setup in UE4 section, bullet 10, it says to set the toling to 25. I donât see a setting that is called or seems like it would be tiling. Any ideas how I set this?
They mean in the Landscape Coordinate Node. (Nearly identical to the Texture Coordinate node, but works on the XY of a landscape, rather than the XY of a UV set.) You can set X & Y tiling there.
That is the the node I was using (Landscape Coordinate) but I think your reply game me enough information. It looks like they actually want you to set the Mapping Type to TCMT XY and then set the Mapping Scale to 25 as your starting point, and tweak from there.
Or at least that seems to work out how I would expect things to be
Just a note: The usage of other Mapping Types can help you remove texture stretching by giving you another direction to map from. Example: On the side of a mountain, you can use XZ or YZ to paint from North/South or East/West to give you a better result that wonât get stretched when the landscape goes up very high, very fast. The only downside is that this required another level (or two) to your material to set up.
In simplest terms, you need 3 Layers: a XY (Top/Down), a XZ (North/South) and a YZ (East/West).
Step 1) Import a texture into your material, then duplicate it twice, so you have 3 textures, one for each layer. (Be sure to set the Sampler Source to Shared: Wrap so it doesnât severely decrease the number of textures you can use!)
Step 2) Create a Landscape Coords node for each texture, and connect them
Step 3) For the first one, set the Mapping Type to TCMT XY. For the second, set it to TCMT XZ, and set the third to TCMT YZ.
Step 4) Create three Landscape Layer Weight nodes. Name them however you wish.
Step 5) Connect the XY layer into the Base of the XZ Layer. Connect XZ to the Base of YZ. (It doesnât really matter which order they are in thoughâŚ)
Step 6) Connect the output of the final node into the Base Color (or whichever node youâre working on) and Apply/Save the Mat.
Step 7) Create/Open a Landscape with a sharp climb. Apply our new material to this landscape.
Now normally, when mapped, the images end up looking warped, because they are trying to apply from above and this creates stretching.
Step 8) Under Landscape->Paint, choose either your XZ or YZ painting layers.
Step 9) Paint over stretched materials to create a nice, smooth transition from the top map, to one (or both) of your side maps.
I had you create 2 side maps, because if you were to apply an XZ map to the side of a landscape that faces YZ, then you would see stretched streaking. Using an YZ map lets you paint over that, allowing for full 360 degrees of painting, with no stretching!
Hello! Ressurecting this as I have a different type of issue. In the material setup part, I followed every step to the letter but my material remains desperately black, anyone could tell me why? Below is my network.
That is because the preview mesh doesnât have a landscape layer on it. If you select any of your layers you will have the option to set its preview weight. Once you do that it will show up.
[]
That is because the preview mesh doesnât have a landscape layer on it. If you select any of your layers you will have the option to set its preview weight. Once you do that it will show up.
[/QUOTE]
Thanks, that was right under my nose all that time