HighMap library (C++)
Loading...
Searching...
No Matches
hmap::TerrainTextureParams Struct Reference

#include <colorize.hpp>

Public Attributes

glm::vec3 grass = {0.38f, 0.44f, 0.29f}
glm::vec3 dry = {0.60f, 0.58f, 0.42f}
glm::vec3 soil = {0.64f, 0.55f, 0.43f}
glm::vec3 sediment = {0.80f, 0.76f, 0.68f}
glm::vec3 rock = {0.53f, 0.50f, 0.46f}
glm::vec3 ridge = {0.71f, 0.70f, 0.68f}
glm::vec3 snow = {0.94f, 0.95f, 0.97f}
float rock_talus = 0.003f
float rock_edge = 0.15f
float strata = 0.35f
float streaks = 0.8f
int streak_length = 60
float flow = 0.8f
float flow_width = 0.5f
float deposition = 0.5f
float snow_line = 0.85f
float snow_amount = 0.f
uint32_t seed = 0
float noise_scale = 1.f
float color_noise = 1.f
float detail = 1.f
float cavity = 0.6f
int ir_region = 50

Member Data Documentation

◆ grass

glm::vec3 hmap::TerrainTextureParams::grass = {0.38f, 0.44f, 0.29f}

◆ dry

glm::vec3 hmap::TerrainTextureParams::dry = {0.60f, 0.58f, 0.42f}

◆ soil

glm::vec3 hmap::TerrainTextureParams::soil = {0.64f, 0.55f, 0.43f}

◆ sediment

glm::vec3 hmap::TerrainTextureParams::sediment = {0.80f, 0.76f, 0.68f}

◆ rock

glm::vec3 hmap::TerrainTextureParams::rock = {0.53f, 0.50f, 0.46f}

◆ ridge

glm::vec3 hmap::TerrainTextureParams::ridge = {0.71f, 0.70f, 0.68f}

◆ snow

glm::vec3 hmap::TerrainTextureParams::snow = {0.94f, 0.95f, 0.97f}

◆ rock_talus

float hmap::TerrainTextureParams::rock_talus = 0.003f

◆ rock_edge

float hmap::TerrainTextureParams::rock_edge = 0.15f

◆ strata

float hmap::TerrainTextureParams::strata = 0.35f

◆ streaks

float hmap::TerrainTextureParams::streaks = 0.8f

◆ streak_length

int hmap::TerrainTextureParams::streak_length = 60

◆ flow

float hmap::TerrainTextureParams::flow = 0.8f

◆ flow_width

float hmap::TerrainTextureParams::flow_width = 0.5f

◆ deposition

float hmap::TerrainTextureParams::deposition = 0.5f

◆ snow_line

float hmap::TerrainTextureParams::snow_line = 0.85f

◆ snow_amount

float hmap::TerrainTextureParams::snow_amount = 0.f

◆ seed

uint32_t hmap::TerrainTextureParams::seed = 0

◆ noise_scale

float hmap::TerrainTextureParams::noise_scale = 1.f

◆ color_noise

float hmap::TerrainTextureParams::color_noise = 1.f

◆ detail

float hmap::TerrainTextureParams::detail = 1.f

◆ cavity

float hmap::TerrainTextureParams::cavity = 0.6f

◆ ir_region

int hmap::TerrainTextureParams::ir_region = 50

The documentation for this struct was generated from the following file: