Commit bacd7c29 authored by Georg Schaefer's avatar Georg Schaefer
Browse files

make starfield look better

parent e889b4e0
No preview for this file type
......@@ -817,7 +817,7 @@ namespace gdw {
void rendering_system::generate_starfield() {
static std::vector<star_vertex> stars;
for (auto i = 0; i < 10000; ++i) {
for (auto i = 0; i < 100000; ++i) {
static const auto white = glm::vec3(1.f);
static const auto yellow = glm::vec3(1.f, 1.f, 0.8f);
auto alpha = glm::gaussRand(0.f, 1.f);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment