User Tools

Site Tools


world_setup:appearance:terrain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
world_setup:appearance:terrain [2020/02/02 06:16] – [Landscape texture generation + 'Pattern Maps'] mitworld_setup:appearance:terrain [2020/02/02 06:17] (current) – [Landscape texture generation + 'Pattern Maps'] mit
Line 36: Line 36:
 ==== Landscape texture generation + 'Pattern Maps' ==== ==== Landscape texture generation + 'Pattern Maps' ====
  
-The most recent option, as used on the recent worlds I've run for A tractor, is to combine the heightmap based generation of landscape with a secondary global image (referred to as a 'Pattern Map') which specifies areas of the landscape that use a different texture than would normally be used. (As an aside, **Lovelace** also utilises an extra, custom method that means areas around each town use a more fine-grained texture to lay out roads, grass verges and sandy areas. Configuring this differently for your own world will probably require some 'Technical Discussion').+The most recent (and most powerful) option, as used on the recent worlds I've run for A tractor, is to combine the heightmap based generation of landscape with a secondary global image (referred to as a 'Pattern Map') which specifies areas of the landscape that use a different texture than would normally be used. (As an aside, **Lovelace** also utilises an extra, custom method that means areas around each town use a more fine-grained texture to lay out roads, grass verges and sandy areas. Configuring this differently for your own world will probably require some 'Technical Discussion').
  
 This secondary 'pattern map' image works by using each colour channel of the image to weight the use of texture at each point - so (for instance) a full-red pixel in the image means the corresponding tile is mostly 'texture 1', a green pixel in the image means the corresponding tile is mostly 'texture 2', and a blue pixel in the image is mostly 'texture 3'. A white pixel (i.e. one combining full red, green and blue) is an equal blend of all 3 textures, and all the shades in between allow you to blend between areas of the different textures as you see fit.  This secondary 'pattern map' image works by using each colour channel of the image to weight the use of texture at each point - so (for instance) a full-red pixel in the image means the corresponding tile is mostly 'texture 1', a green pixel in the image means the corresponding tile is mostly 'texture 2', and a blue pixel in the image is mostly 'texture 3'. A white pixel (i.e. one combining full red, green and blue) is an equal blend of all 3 textures, and all the shades in between allow you to blend between areas of the different textures as you see fit. 
world_setup/appearance/terrain.1580645806.txt.gz · Last modified: 2020/02/02 06:16 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki