Legacy Water Planes
⚠️ This is the legacy manual process for FS22 or users who prefer manual control
For Farming Simulator 25, Maps4FS now automatically generates ready-to-use i3d files! See the new automated Water Planes guide instead.
Use this guide only if:
You're creating maps for Farming Simulator 22
You prefer manual control over the process
You need custom quality settings not available in automation
How to create water planes
📹 Check out the video version of this tutorial.
The generator automatically generates the obj files for the water planes, but you need to process them in both Blender and Giants Editor for them to display correctly in the game.
Find the obj file in the
waterdirectory.Import the obj file into Blender.
Ensure the imported object is selected, right-click anywhere and select Set Origin → Origin to Geometry.
Press the N key to open the Transform panel and set the Location to 0, 0, 0 and Rotation to 0, 0, 0. DO NOT TOUCH SCALE AND DIMENSIONS!
Add an empty material to the object.
Change the emission color to fully black.
Apply the Decimate modifier to the object and Shade Smooth. You can find an example of this in the tutorial about Background Terrain.
Open the Giants Editor I3D Exporter and set the path to the directory where the game is installed.
Go to the Material tab and press the Detect Path button.
Select the oceanShader.xml shader.
SAVE THE BLENDER FILE! Then press the Apply button.
Go to Export, ensure your object is selected, and press the Export selected button.
Open the i3d file you just exported in any text editor and find the Materials section, which should look like this:
<Materials>
<Material name="wtr" materialId="1" diffuseColor="0.8 0.8 0.8 1" specularColor="0.501961 1 0" customShaderId="4">
<Normalmap fileId="2"/>
</Material>
</Materials>After the line with the Normalmap tag, add the following line:
<Refractionmap coeff="1" bumpScale="0.01" withSSRData="true"/>The result will look like this:
<Materials>
<Material name="wtr" materialId="1" diffuseColor="0.8 0.8 0.8 1" specularColor="0.501961 1 0" customShaderId="4">
<Normalmap fileId="2"/>
<Refractionmap coeff="1" bumpScale="0.01" withSSRData="true"/>
</Material>
</Materials>Save the file and continue with the next steps.
Note: This is a very important step. Otherwise, the water shader will not work correctly and will have weird-looking lines all over the water plane.
Open Giants Editor and import the i3d file. It will appear black, but don't worry - this is normal. After importing, position the water plane in the correct location.
Open the Material Editing window and select your water plane.
Change the Variation to simple and then edit the values as shown in the screenshot. These are default values for the water plane, but you can adjust them to achieve the desired effect.
Set Smoothness and Metalness to 1.
Click on the button near the Normal map.
Click the ... button and provide the path to the water_normal.dds file. It's located at:
where-the-game-is-installed/data/maps/textures/shared/water_normal.dds.
You should see the normal map in the window. Press the OK button.
Now switch to the UserAttributes tab, enter the name
onCreate, selectScript callback, and click Add. After that, set the Attribute value toEnvironment.onCreateWater.On the Attributes → Transform tab, check the
Rigid bodycheckbox.Switch to the Rigid body tab and set the
PresettoWATER.Go to the Shape tab and uncheck the
Cast shadowmapcheckbox (if it's checked).It should look like this.
We're done here!
Last updated
