16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 19:09:20 +02:00

add clouds

This commit is contained in:
Wls50
2025-12-10 19:06:19 +01:00
committed by Hirek
parent 22479671d4
commit 0794a0f621
16 changed files with 258 additions and 50 deletions

View File

@@ -14,6 +14,8 @@ void MaConfig::Init(const YAML::Node& node) {
m_weight_lines = node["wire_diameter_lines"].as<float>(.01f);
m_weight_tractions = node["wire_diameter_tractions"].as<float>(.005f);
m_envmap_resolution = node["envmap_resolution"].as<int>(256);
m_cloud_texture = node["cloud_texture"].as<std::string>("textures/clouds/clear");
m_high_cloud_texture = node["high_cloud_texture"].as<std::string>("textures/clouds/clear");
}
void MaConfig::MaConfigDisplay::Init(const YAML::Node& node) {