Render roads directly as part of the tile texture in shaders/simple.frag

This commit is contained in:
2026-11-09 21:11:06 +01:00
parent d266715418
commit a8841f59d9
6 changed files with 184 additions and 50 deletions
+4 -1
View File
@@ -30,7 +30,10 @@ struct RoadTypeConfig {
QString colorStr = "#c49a62";
QString borderColorStr = "#6b4b23";
float width = 3.5f;
float worldWidth = 0.11f;
float worldWidth = 0.068f;
float borderWidth = 0.022f;
float textureScale = 2.4f;
float opacity = 0.90f;
int cost = 5;
QColor getColor() const { return QColor(colorStr); }