Delta-v/Content.Server/Light/EntitySystems
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
..
EmergencyLightSystem.cs Fix battery charging stopping just short of being full (#34028) 2025-01-10 17:54:55 +11:00
ExpendableLightSystem.cs Move IgnitionEvent to shared (#30985) 2024-09-02 02:27:13 +02:00
HandheldLightSystem.cs Refactor audio system to send collection IDs over the network (#33610) 2025-02-23 23:14:56 +11:00
LightBulbSystem.cs Unrevert audio (#21330) 2023-11-27 22:12:34 +11:00
LightCycleSystem.cs Add sun shadows (planet lighting stage 2) (#35145) 2025-03-08 16:07:42 +11:00
LightReplacerSystem.cs Fix light replacer popup (#26136) 2024-03-15 18:23:58 +03:00
LitOnPoweredSystem.cs Station AI (#30944) 2024-08-28 10:57:12 +10:00
MatchboxSystem.cs Remove 700 usages of Component.Owner (#21100) 2023-10-19 12:34:31 -07:00
MatchstickSystem.cs AutoCompState + ItemToggle fixes (#23422) 2024-01-03 17:24:02 +11:00
PoweredLightSystem.cs Replace some sound PlayEntity with PlayPvs (#34317) 2025-01-11 01:44:30 +11:00
RgbLightControllerSystem.cs Extend RgbLightController (#6179) 2022-01-18 15:18:16 -07:00
RoofSystem.cs Add planet lighting (#32522) 2025-02-16 19:35:32 +11:00
RotatingLightSystem.cs Code cleanup: Dirty(Comp) (#26238) 2024-03-19 23:27:02 -04:00
SunShadowSystem.cs Add sun shadows (planet lighting stage 2) (#35145) 2025-03-08 16:07:42 +11:00