feat(title): paleta neon synthwave per element a l'escena de títol

This commit is contained in:
2026-05-22 13:04:11 +02:00
parent 880af293ef
commit c61299f17f
5 changed files with 40 additions and 10 deletions
+5 -1
View File
@@ -94,7 +94,7 @@ namespace Graphics {
.rotation_euler = Vec3{.x = star.rot_phase_x, .y = star.rot_phase_y, .z = 0.0F},
.scale = star.scale,
};
drawWireframe(renderer_, *camera_, octahedron_, TRANSFORM, computeBrightness(star));
drawWireframe(renderer_, *camera_, octahedron_, TRANSFORM, computeBrightness(star), color_);
}
}
@@ -102,4 +102,8 @@ namespace Graphics {
brightness_mult_ = std::max(0.0F, multiplier);
}
void Starfield::setColor(SDL_Color color) {
color_ = color;
}
} // namespace Graphics