Delta-v/Content.Shared/Light/Components
metalgearsloth 97928f301a 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-09 23:24:48 +00:00
..
HandheldLightComponent.cs fix borgs not being able to toggle flashlight (#20448) 2023-10-08 19:53:56 +02:00
IsRoofComponent.cs Add sun shadows (planet lighting stage 2) (#35145) 2025-03-09 23:24:48 +00:00
ItemTogglePointLightComponent.cs ItemToggle + slots stuff (#31312) 2024-08-27 01:00:43 +01:00
LightBulbComponent.cs Explosion SFX juicing + higher persistence (#22544) 2023-12-16 20:31:21 +01:00
LightCycleComponent.cs Add planet lighting (#32522) 2025-03-01 13:18:06 +00:00
LightOnCollideColliderComponent.cs Station AI (#30944) 2024-08-30 07:53:19 +01:00
LightOnCollideComponent.cs Station AI (#30944) 2024-08-30 07:53:19 +01:00
LightReplacerComponent.cs Fix clientside storage Whitelists (#24063) 2024-02-08 12:22:58 +01:00
RgbLightControllerComponent.cs light refactoring/rework (#19314) 2023-09-03 22:31:10 -07:00
RoofComponent.cs Roof data rework (#35388) 2025-03-01 14:12:40 +00:00
RotatingLightComponent.cs light refactoring/rework (#19314) 2023-09-03 22:31:10 -07:00
SharedEmergencyLightComponent.cs light refactoring/rework (#19314) 2023-09-03 22:31:10 -07:00
SharedExpendableLightComponent.cs Makes flares quieter (#27521) 2024-05-07 03:59:58 +02:00
SharedLightBehaviourComponent.cs light refactoring/rework (#19314) 2023-09-03 22:31:10 -07:00
SlimPoweredLightComponent.cs Power stuff (#31314) 2024-08-27 01:00:42 +01:00
SunShadowCastComponent.cs Add sun shadows (planet lighting stage 2) (#35145) 2025-03-09 23:24:48 +00:00
SunShadowComponent.cs Add sun shadows (planet lighting stage 2) (#35145) 2025-03-09 23:24:48 +00:00
SunShadowCycleComponent.cs Add sun shadows (planet lighting stage 2) (#35145) 2025-03-09 23:24:48 +00:00
TileEmissionComponent.cs Add planet lighting (#32522) 2025-03-01 13:18:06 +00:00
UnpoweredFlashlightComponent.cs Move UnpoweredFlashlight to shared (#27449) 2024-05-07 02:04:57 +02:00