mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 13:56:24 +02:00
Merge pull request #5384 from jherico/homer
Make stars a little smaller
This commit is contained in:
commit
3f8348c3d7
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ void Stars::render(RenderArgs* renderArgs, float alpha) {
|
|||
points.resize(limit);
|
||||
for (size_t star = 0; star < limit; ++star) {
|
||||
points[star].position = vec4(fromPolar(randPolar()), 1);
|
||||
float size = frand() * 5.0f + 0.5f;
|
||||
float size = frand() * 2.5f + 0.5f;
|
||||
if (frand() < STAR_COLORIZATION) {
|
||||
vec3 color(frand() / 2.0f + 0.5f, frand() / 2.0f + 0.5f, frand() / 2.0f + 0.5f);
|
||||
points[star].colorAndSize = vec4(color, size);
|
||||
|
|
Loading…
Reference in a new issue