33 Commits

Author SHA1 Message Date
Aaron Suen
e017229a5d Reduce warning noise on wrong time_speed 2021-09-10 10:20:05 -04:00
Aaron Suen
cc0f147c9e Expand time_speed warning a bit 2021-06-24 19:29:20 -04:00
Aaron Suen
d5d6cf0504 Time of day / shadow fixes
- Move time_speed into config defaults instead of overwriting
  host's minetest.conf (affects other SP worlds).
- Keep time synced in a loop now, to compensate for the fact that
  time_speed might be overridden.
- Correct the exact time of day for "no shadow time" to 0.2, which
  seems to work in the corner-case empirically.  The previous
  value of 5/24 still had long faint shadows on a perfectly flat
  world.
2021-06-22 06:45:26 -04:00
Aaron Suen
e614341088 Improve shadow workaround
- Setting time of day to 5:00 disables shadows
  properly (incl. moon shadows).
- Remove the pointless /time command.
2021-06-20 10:56:30 -04:00
Aaron Suen
2e55976a72 Work around dynamic shadows (MT5.5+)
- Disable them by default in SP
- Set time of day to midnight and lock it there
2021-06-20 10:42:53 -04:00
Aaron Suen
0251a7d023 Try to reduce spawn star memory leak near spawn
Use grid-aligned pixel locaiton for calculating
opacity so each star pixel position has only one
opacity level associated with it, rather than the
multiple that can currently occupy that opacity
range.
2021-03-16 20:51:33 -04:00
Aaron Suen
3bef859c4c Make spawn star relative to static_spawnpoint if set 2021-03-12 07:19:37 -05:00
Aaron Suen
95f0fb0ee9 Heaviest image compression option 2021-03-09 08:33:58 -05:00
Aaron Suen
410ebd5d8d Recompression using ECT
https://github.com/fhanau/Efficient-Compression-Tool
2021-03-09 08:16:23 -05:00
Aaron Suen
40cd5b8d9e Fix spawn star showing over darkening 2021-03-04 23:11:16 -05:00
Aaron Suen
6c649b3747 Relax empty tote handle restrictions
- They can now be stacked, somewhat
- They can be placed inside lode crates
2021-03-01 23:30:38 -05:00
Aaron Suen
c10e80ef87 Set name in mod.conf as demanded by 5.5+ 2021-03-01 20:10:27 -05:00
Aaron Suen
068e5fba9f Hotfix for nav star memory leak issue 2021-03-01 17:14:35 -05:00
Aaron Suen
d69f5fa592 Increase size of spawn star dead zone 2021-02-28 22:52:55 -05:00
Aaron Suen
253ad94fa8 Add spawnward navigation star to skybox
When not pathologically near spawn, a magenta
star appears above pointing toward spawn, and
giving an indication (logarithmic magnitude) of
the distance to spawn.
2021-02-28 22:46:14 -05:00
Aaron Suen
27ee0f9f7b Another attempt to quantize skybox textures
Using pngquant this time, instead of GIMP.  It seems pngquant at
least is smart enough to preserve the exact RGB value of the
single most common color used in all the images.
2020-06-24 07:25:44 -04:00
Aaron Suen
9d912311cf Another attempt at correcting color
This time, avoid touching the stars and just re-fill the
pure blue part of the sky.
2020-06-24 00:23:01 -04:00
Aaron Suen
16aa202cbb Revert "Fix skybox colors"
This reverts commit 9bd49cc78a7aeb2b228cc563a395bd912fbdf9f0.
2020-06-24 00:19:53 -04:00
Aaron Suen
9bd49cc78a Fix skybox colors 2020-06-23 23:10:09 -04:00
Aaron Suen
2999a1fc18 Fantastic new skybox by WintersKnight94 2020-06-23 21:14:41 -04:00
Aaron Suen
1caa2e6285 Fix sunrise tint texture 2020-06-22 23:40:31 -04:00
Aaron Suen
466805da48 Enroll skybox, fix some bugs 2020-06-22 23:17:01 -04:00
Aaron Suen
e0156b4742 Add profiler instrumentation metadata everywhere
N.B. the MT built-in profiler doesn't yet actually support reading
labels from bare-function registrations, so a builtin hack is
needed.
2020-06-15 07:21:39 -04:00
Aaron Suen
b029658a9d More registration fixes 2020-03-28 08:53:35 -04:00
Aaron Suen
15ef9de66a Try dimming the sky a bit more.
This should hopefully make the land seem a bit
brighter in comparison...
2020-02-22 21:16:15 -05:00
Aaron Suen
aa0f4943cf Dynamically dim fog too. 2020-02-22 19:12:28 -05:00
Aaron Suen
7444a0248b Fix fog color (again) and a crash bug.
Sadly I don't have a way to make fog color texture
pack customizable, so it will have to be hard-coded
for now, and TP artists may want to advise players
to just disable fog if they can, or maybe a CSM could
work...
2020-02-22 19:08:51 -05:00
Aaron Suen
06ab50888b Fix fog brightness...? 2020-02-22 18:32:44 -05:00
Aaron Suen
42ec1d7d5a Merge highly experimental perpetual twilight.
This removes the day/night cycle from NodeCore,
which experience seems to suggest may be more of
an annoyance than a useful and interesting gameplay
feature.

Some aspects of gameplay are notably altered, such
as the balance between artificial and natural light,
and the operation of optics (no more solar lenses).

The overall atmosphere of the game is also deeply
changed by this, taking on a timeless, dream-like
quality.  It remains to be seen whether this change is
beneficial or even tolerable.
2020-02-22 17:42:43 -05:00
Aaron Suen
f2a6dddfb2 Make sky a tiny bit more vibrant. 2020-02-22 17:38:32 -05:00
Aaron Suen
71db095b99 Remove debugging code. 2020-02-22 16:57:14 -05:00
Aaron Suen
5b2b334fe4 Bathe the world in twilight, not sunlight. 2020-02-22 16:36:27 -05:00
Aaron Suen
c7a322941e Experimental new natural light system.
- No day/night cycle, no sun/moon.
- Get rid of clouds too.
- Skybox is now 100% texture-packable.
- Natural light diminishes with depth.

Night-time no longer disrupts gameplay topside, but
skylights are no longer useful to an infinite depth and
artificial light is necessary for all deep mining.
2020-02-22 10:38:03 -05:00