diff options
author | Wuzzy <Wuzzy@disroot.org> | 2022-07-02 18:57:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-02 19:57:48 +0100 |
commit | 142928e944db089cccce6c0ea32a89b32300b3d1 (patch) | |
tree | 666fa8664a4a0a4d2d365d24ff61448e257759cc /src/skyparams.h | |
parent | b095dc4f2bf2a1ace010dfae0ead69654b0ca3ac (diff) | |
download | minetest-142928e944db089cccce6c0ea32a89b32300b3d1.tar.xz |
Allow to set maximum star opacity at daytime (#11663)
Diffstat (limited to 'src/skyparams.h')
-rw-r--r-- | src/skyparams.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/skyparams.h b/src/skyparams.h index f7f694427..07068634b 100644 --- a/src/skyparams.h +++ b/src/skyparams.h @@ -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; } |