====== Lakes (DM parameter) ====== The 'lakes' slider in the //[[l3dt:userguide:wizards:designparams|design map parameters]]// wizard determines how large lakes will be on your map, and how far L3DT will go to find areas to flood these lakes. This setting has no direct effect on the heightfield. The 'lakes' parameter does not have any effect unless you also enable the 'auto-flood lakes' checkbox in the [[l3dt:userguide:wizards:wflood|water map flooding]] wizard. This effect of this parameter is demonstrated below, where where I've flooded the map with lake settings from 0% up to 100%.
^ Lakes ^ Heightfield/Water map ^ 3D render ^ | 0% (left, few, default) | {{l3dt:algorithms:dm:params:lakes:lakes_0_hf.jpg?200}} | {{l3dt:algorithms:dm:params:lakes:lakes_0_3d.jpg?300}} | | 25% | {{l3dt:algorithms:dm:params:lakes:lakes_25_hf.jpg?200}} | {{l3dt:algorithms:dm:params:lakes:lakes_25_3d.jpg?300}} | | 50% (centre) | {{l3dt:algorithms:dm:params:lakes:lakes_50_hf.jpg?200}} | {{l3dt:algorithms:dm:params:lakes:lakes_50_3d.jpg?300}} | | 75% | {{l3dt:algorithms:dm:params:lakes:lakes_75_hf.jpg?200}} | {{l3dt:algorithms:dm:params:lakes:lakes_75_3d.jpg?300}} | | 100% (right, many) | {{l3dt:algorithms:dm:params:lakes:lakes_100_hf.jpg?200}} | {{l3dt:algorithms:dm:params:lakes:lakes_100_3d.jpg?300}} |
Note that even though some individual lakes may get larger or smaller as the 'lakes' parameter is increased, the overall fraction of the map covered by lakes always increases as the 'lakes' parameter increases. ===== Rendering / game engine compatibility ===== The surface height of each lake flooded by the 'lakes' parameter will be at a different level from the other lakes. If you intend to use your terrain map in a game engine that represents water as a flat 'water plane' with a single level, then you will not be able to use these multi-level lakes in your game engine. Instead, please us the 'flood water plane' option in the [[l3dt:userguide:wizards:wflood|water map flooding]] wizard.