Render roads directly as part of the tile texture in shaders/simple.frag
This commit is contained in:
+4
-1
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user