mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow to set maximum star opacity at daytime (#11663)
This commit is contained in:
parent
b095dc4f2b
commit
142928e944
9 changed files with 24 additions and 4 deletions
|
@ -66,6 +66,7 @@ struct StarParams
|
|||
u32 count;
|
||||
video::SColor starcolor;
|
||||
f32 scale;
|
||||
f32 day_opacity;
|
||||
};
|
||||
|
||||
struct CloudParams
|
||||
|
@ -141,6 +142,7 @@ public:
|
|||
stars.count = 1000;
|
||||
stars.starcolor = video::SColor(105, 235, 235, 255);
|
||||
stars.scale = 1;
|
||||
stars.day_opacity = 0;
|
||||
return stars;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue