RimWorld

RimWorld

95 ratings
Realistic Lighting and Shadows
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.6
File Size
Posted
Updated
487.467 KB
9 Jul @ 12:30am
16 Jul @ 8:24pm
11 Change Notes ( view )

Subscribe to download
Realistic Lighting and Shadows

Description
Experience Real Astronomy

Real Lighting & Real Shadows based on REAL Axial Tilt.

The ONLY Rimworld mod with North-facing shadows!

I love playing at high latitudes (45 degrees and above) - yet Rimworld's experience has always been lacking up there.

Shadows should point AWAY from the sun.
That means pointing north in the northern hemisphere, south in the southern hemisphere, and either direction in the tropics (and the poles) depending on the time of year (day).

Moonlight should Matter
A moonless night (or even crescent) should feel different than the full moon beaming down in all its glory. Moon phases should vary over time and provide different amounts of moonlight.

Days should be BRIGHT
if the sun is above the horizon it should look like day even in winter.

Twilight/Dusk should Last
The sun may be below the horizon - but the light may linger for hours - especially at high latitudes.

Introducing Realistic Lighting and Shadows
This mod uses REAL astronomy calculations to figure out where the sun and moon actually are based on the planet's (settable) tilt and adjusts the lighting and shadows to match.

This means that latitude choices matter more than ever before. A colony at the equator will feel very different from a colony at high latitudes. Winters can be dark, and summer days long. Growing seasons are now just as influenced by light as temperature. If you have a grav ship, you can now take full advantage of the seasons by hopping latitudes at different points of the year.

This mod can be safely added or removed to a saved game as it does not touch the save file at all.

What this mod does
It redoes all the game's lighting and shadows to match the sun and moon's positions in the sky.

This means that twilight starts when the sun is below the horizon, and shadows are only cast when the sun is above the horizon. Experience blue to red twilights, awesome sunrises/sunsets, and bright days - even in the polar regions!

The moon will light up the nights based on its phase and if it's above the horizon. This means that moonless nights are naturally dark, while full moons light up the nights - especially during polar night.

A helpful GUI element will let you know if the moon is visible and what phase it's in (can be disabled in settings).

Brightness based on REAL human perception.

The game's lighting follows real human perception (logarithmic). This means that full moons directly overhead appear 39% as bright as noon - simulating a human's adaption to light over time (though most nights will be less than half that).

Solar intensity is based on REAL solar power hitting the ground.
Even though the day may "feel" bright, that doesn't mean much energy is reaching the ground. Plant growth and solar panels will now grow according to real energy hitting the ground. Which leads to...

Plant Growth Realism
Plants will now start growing if the sun is above the horizon, and reach max growth at 50% solar intensity.

(This is based off real plant light saturation: Plants don't need much light to start growing - and they get saturated well before the sun provides peak power.)

This means that plants may grow slightly quicker than you are used to - but it's now possible for tribes to grow plants farther north without hydroponics - as long as it is warm enough (temperature calculations remain unchanged).

Also - Light sources no longer affect plants except for sunlamps. This is to prevent torches from acting like sunlamps.

What this mod doesn't do
It does not effect temperature at all.

You can set the planet tilt to be 90 degrees and have the sun be directly overhead at the poles for days - but you will not get 100 degree Celsius temps. You also won't get the atmosphere freezing around you during your half-year night.

It currently does not support weather lighting changes
I would like to add this in the future. You will still see all the weather particle effects from vanilla - it just may be brighter or darker than you are used to. On the bright side - lightning and shadows look awesome with the mod - as the shadows will point to where the lightning strikes!

FAQ

Does it work in space?
Yes! It handles just as if you were on the ground. All rimworld orbital platforms are geosynchronus yet orbit close to the planet - so apart from theoretically having slightly shorter days and longer nights than you actually would in orbit, the mod's realism is preserved.

Can I add / remove this from a save?
Yes! This does not touch your save file at all - so you can safely add or remove it.
The plant growth changes are done each time on game load - so if you remove the mod they will simply revert back to default vanilla growing behavior.

Nights are too dark!
You can adjust the moon brightness and the starry night brightness to whatever level you like. 0 means no light, and 1 means as bright as noonday sun on the equator. You can even adjust the moon's orbit if you'd like to see all phases of the moon in a day!

Do I neeed X DLC?
You shouldn't. This mod should work with no DLC, some of them, or all of them. If you find this is not the case, please let me know.

Does it work with X mod?
It should work with any other mods that don't change lighting or shadows. It does change plant sensitivity to light - so if you have another mod that modifies that, just load that mod after this one and it will probably use the later one.

Can I change the tilt of the planet?
Yes - the game supports tilts from 0 degrees all the way to 90 degrees. Just go the to mod's settings. You can change it in real time if you like to see what feels right to you. No need to start a new colony unless you want to change your latitude.

I just want realistic lighting - no balance changes!
You can turn off all balance-related changes in the settings. Warning: this can be immersion breaking.

I found an error!
Great! Post it in the mod's comments and if I have time and it's not too hard to fix, I'll update the mod.

Can you add this ____ feature?
Maybe! Post it in the comments with why and how you imagine it happening and I'll see if it's something I may want to add.
Popular Discussions View All (1)
2
17 Jul @ 9:57pm
Bug report
Maal
90 Comments
OrAZion 6 hours ago 
Moonlight brings night lighting, but the sunlight of this module is more beautiful than moonlight.
And then I was thinking, is there a way to make this planet Tidal locking?
VitaKaninen 20 hours ago 
Lightning seems to be working the opposite the of the way it should. Ideally, when the lightning strikes, the shadows would light up a little bit, and everything else would light up a whole lot.

What is happening, is that the shadows turn black, and everything else stays the same.

The first image is regular light levels. The second one is during a lightning strike. The third one is using a mod to increase the ambient light level during the same strike.
https://imgur.com/a/a95SFDq
maxiharda 18 Jul @ 5:04am 
this is awesum
Sjaandi  [author] 18 Jul @ 3:41am 
@cyanobot, @Jean1337_, @Ghojo, @MeatOnASeat - Thank you for the kind words. I'm glad you are enjoying the mod! It's comments like yours (and ratings) that keep me motivated to make the mod ever better.
MeatOnASeat 17 Jul @ 5:02pm 
Really enjoying this mod!!! Awesome job and thank you for this!
Ghojo 17 Jul @ 1:22pm 
You are a true wizard !
Jean1337_ 17 Jul @ 4:25am 
Your mod is a pearl
cyanobot 17 Jul @ 12:36am 
It had never occurred to me to be bothered by the shadows, but this looks awesome!
greensniperhat 16 Jul @ 11:52pm 
Yeah, just pointing out that ArcadeBulls post
Sjaandi  [author] 16 Jul @ 11:43pm 
@greensniperhat I just looked at Moonlight. This mod practically duplicates all its functionality.

The two main differences are the initial position of the moon when you start the game (may not be a new moon on the first of the month) and that in this mod the moon varies its rising and setting times based on its orbit around the planet (half moons will be visible only half the night).

If you want everything else to be the same, you can set your moon orbit time to 15 days in the settings, and amp up the moon brightness until it matches vanilla brightness.