Files
crystall-punk-14/Content.Shared
metalgearsloth f51b9bc86e Add sun shadows (planet lighting stage 2) (#35145)
* Implements a Dynamic Lighting System on maps.

* Edit: the night should be a little bit brighter and blue now.

* Major edit: everything must be done on the client side now, with certain datafield replicated.
Changes were outlined in the salvage to accommodate the new lighting system.

* Edit: The offset is now serverside, this makes the time accurate in all situations.

* Removing ununsed import

* Minor tweaks

* Tweak in time precision

* Minor tweak + Unused import removed

* Edit: apparently RealTime is better for what I'm looking for

* Fix: Now the time is calculated correctly.

* Minor tweaks

* Adds condition for when the light should be updated

* Add planet lighting

* she

* close-ish

* c

* bittersweat

* Fixes

* Revert "Merge branch '22719' into 2024-09-29-planet-lighting"

This reverts commit 9f2785bb16aee47d794aa3eed8ae15004f97fc35, reversing
changes made to 19649c07a5fb625423e08fc18d91c9cb101daa86.

* Europa and day-night

* weh

* rooves working

* Clean

* Remove Europa

* Fixes

* fix

* Update

* Fix caves

* Update for engine

* Add sun shadows (planet lighting v2)

For now mostly targeting walls and having the shadows change over time. Got the basic proof-of-concept working just needs a hell of a lot of polish.

* Documentation

* a

* Fixes

* Move blur to an overlay

* Slughands

* Fixes

* Apply RoofOverlay per-grid not per-map

* Fix light render scales

* sangas

* Juice it a bit

* Better angle

* Fixes

* Add color support

* Rounding bandaid

* Wehs

* Better

* Remember I forgot to do this when writing docs

---------

Co-authored-by: DoutorWhite <thedoctorwhite@gmail.com>
2025-03-08 16:07:42 +11:00
..
2024-08-18 12:22:36 -04:00
2024-07-08 00:27:52 +10:00
2024-07-01 02:20:57 +10:00
2025-01-27 11:34:20 +01:00
2024-08-25 22:18:42 +10:00
2024-03-24 16:33:45 +11:00
2024-07-13 16:09:19 +10:00
2024-07-29 19:48:28 -07:00
2024-08-28 10:57:12 +10:00
2025-03-07 14:51:08 +01:00
2024-08-16 11:43:54 +10:00
2025-02-14 16:46:25 +01:00
2024-11-22 23:02:59 +01:00
2025-01-30 14:15:01 +01:00
2024-07-22 14:07:31 -07:00
2024-08-31 10:40:28 -04:00
2025-03-07 14:51:08 +01:00
2025-03-07 14:51:08 +01:00
2023-12-28 13:11:50 +00:00
2025-02-17 01:58:40 -05:00
2025-02-27 20:11:57 +01:00
2024-08-04 13:31:45 +10:00
2024-06-09 15:18:54 -04:00
2024-09-07 00:05:53 +10:00
2025-01-27 11:34:20 +01:00
2024-02-15 16:26:45 -08:00
2024-11-14 11:08:35 -06:00
2024-08-25 22:18:42 +10:00
2025-01-02 19:23:28 +01:00
2024-09-01 22:33:25 -06:00
2025-02-24 00:57:27 +11:00
2024-08-25 22:18:42 +10:00
2024-06-05 10:32:58 +03:00
2025-03-07 14:51:08 +01:00
2025-02-25 14:45:19 +01:00
2025-02-11 18:30:24 +01:00
2024-05-12 17:07:54 +02:00
2024-08-09 09:36:15 +10:00
2025-02-04 17:25:54 +01:00
2024-01-27 08:51:24 -05:00
2024-08-28 10:57:12 +10:00
2024-04-28 21:38:23 -07:00
2024-08-10 11:08:56 +10:00
2025-02-18 23:27:30 +11:00
2024-08-28 10:57:12 +10:00