bcthund / Project_Parsec

1 stars 0 forks source link

Add Moisture to Terrain #28

Closed bcthund closed 3 years ago

bcthund commented 3 years ago

Create a noise layer for moisture alongside Terrain and Water. Use this to store a per vertex moisture value in the range 0 to 1.

In the shader the true height of the terrain is already being used for texturing, determine a method of normalization such as using the highest value mapped to 1 and lowest value mapped to 0. Then use the moisture and height value per vertex to determine a color hue from a gradient texture map.

The gradient texture map would probably be the easiest method so we don't need to load a moisture texture for every temperature zone (elevation).

bcthund commented 3 years ago

This has been implemented using 3D textures and extra noise data layers.