Can someone help me set up PBR terrain paints so I can make my first-ever PBR map? I have the height map attached and the map linked because it's too big. ("nameme" is just a temporary name because I haven't come up with one yet. And I want my map to be 8192x8192, and the height map is 2048x2948, so you need to have it at 4 pixels per metre and I want the max height to be 300): https://drive.google.com/file/d/1zRPK1tq21GIR9eaFplEcfuAH_pGONqLV/view?usp=sharing
I got started with this by copying PBR terrain materials from another level. For example, if you want to copy the materials from Jungle Rock Island (jri): - Make sure the game is not running. - Find the jungle_rock_island.zip file at C:\SteamLibrary\steamapps\common\BeamNG.drive\content\levels\jungle_rock_island.zip. - Copy the zip to a folder outside of C:\SteamLibrary\steamapps\common\BeamNG.drive just to keep the game install clean, such as on your desktop called "jri_copy.zip". - Unzip the copy. Now you should have something like this: ...\Desktop\jri_copy\levels\jungle_rock_island\art\terrains. Not exactly sure what the final path will be, but it's something along those lines. - Inside of the art\terrains are the terrain paints for jungle rock island. You can copy all the files in art\terrains in your level's art\terrains folder. Create the terrains folder if it doesn't exist. - Edit art\terrains\main.materials.json in notepad++, doing a search-and-replace and replace "/levels/jungle_rock_island" with "/levels/your_level_name". Now open the game, load your level, and enter the World Editor. If everything worked, you should see the terrain materials from jri in your Terrain Material Library window. If you don't see the Terrain Material Library, window, you have to first open the Terrain Tools toolbar. Opening the Terrain Tools toolbar. The Terrain Material Library window. Open the Terrain Painter window and add the Terrain Materials that you want to the Material Selector by opening the "<Add Terrain Materials>" menu and clicking on the ones you want: Once a Material is in the Material Selector, you can paint using the brush tools, or the terrain importer. One thing that can cause problems is that the size of the Terrain Materials must be set in a specific way. This youtube channel has a lot of good info on that: https://www.youtube.com/@TerryMartinART/videos. Here's a video on the subject: Just to give an overview on sizing: On the left, "Base texture size" must be set to the size of the png files you're using for base textures. You can ignore macro and detail textures, because they should all be set correctly since we copied it from JRI and it already works there. All the base texture png files must be the same size. Only two of the five types are required: Base Color, and Ambient Occlusion (AO). AO must be a greyscale image, which, confusingly, will show up as red. You can just use your heightmap as AO to get started and see if things are working. Overall this is definitely a confusing process, and it took me a while to figure it out, but it definitely works and its worth the effort! Here's the map I made using this process: