better horizon

This commit is contained in:
royjr
2025-09-21 21:34:14 -04:00
parent 43de43b34a
commit 225858261e
+2 -2
View File
@@ -130,8 +130,8 @@ void ModelRenderer::drawLaneLines(QPainter &painter) {
// Gradient band across horizon
QLinearGradient bgGrad(r.left(), horizonY - 50, r.left(), horizonY + 50);
bgGrad.setColorAt(0.0, QColor("#000000")); // top of band
bgGrad.setColorAt(0.5, QColor("#333333")); // middle blend
bgGrad.setColorAt(1.0, QColor("#333333")); // bottom of band
bgGrad.setColorAt(0.5, QColor("#111111")); // middle blend
bgGrad.setColorAt(1.0, QColor("#111111")); // bottom of band
painter.fillRect(QRectF(r.left(), horizonY - 100, r.width(), 100), bgGrad);
// Fill below horizon: solid dark gray