unsoluble / smalltime

A small FoundryVTT module for displaying and controlling the current time of day.
MIT License
23 stars 15 forks source link

[Feature Request] Lighting for multiple moons #159

Closed Berytak closed 8 months ago

Berytak commented 1 year ago

Hey there,

first of all, I really love this module. It's just perfect that the lighting is adjusted to suit the time of day. Now that the scene can also be illuminated by the moon phase from the Simple Calendar, I wanted to ask if it would also be possible to support multiple moons? As far as I know, the illumination is only set on the basis of the first moon. Simple Calendar offers the possibility to configure several moons and their colour, so it would be great if the second moon could also be taken into account. I would also be happy if the configured colour of the moons in Simple Calendar had an effect on the illumination. As a side note, I am currently running a Warhammer campaign and there are two moons in the world, one of which (Morrslieb) is green.

Cheers Berytak

unsoluble commented 1 year ago

Hiya! Thanks for the kind words, and for the descriptive request. Could you elaborate a bit on how you envision this working?

Berytak commented 1 year ago

Hi @unsoluble Of course, I'm happy to elaborate a little further.

If I have understood the option "Moon Phase Effects Darkness" correctly, the moon phase simply sets the maximum darkness at night within a scene. But this is only influenced by the first moon configured in Simple Calendar. The second moon has no effect on this option.

image

In this case only "Mannslieb" affects the darkness setting but not "Morrslieb". You can also set the colour of the moons in the Simple Calendar options. I don't know if it's possible to change the colour of the global illumination, but I suppose that would be a suitable option. "Morrslieb" creates an eerie green glow and seeing that in a scene would be awesome without having to adjust the lights every time.

Example of what it could look like. image

So let's summarise again:

But I'm actually not sure if this can be realised and if so, then how.

I apologise if I have not made myself clear, but English is not my first language.

Cheers Berytak

Peach774 commented 9 months ago

I want to add to this - it would be nice to be able to configure how bright each moon IS. I have 2 moons and when both are full its nearly as bright as daylight, when one of the moons shouldn't give much light, and if the above was implemented, would really only provide a tint to said light. So an option to configure how 'bright' each moon is when the setting is enabled would be great, since right now, I have to disable this feature otherwise many nights are too bright.

unsoluble commented 9 months ago

Can tell you both straight-up that I'm not going to be implementing support for more than one moon — that'd be an exponential nightmare of complexity. Changing the Darkness tint based on a colour pulled from SC is theoretically possible, will look into it. Adding a config for the percentage impact that the phase brightness has on scene Darkness is also feasible. Extremely limited free time these days tho, so might be a while.

unsoluble commented 8 months ago

Moon tint and phase impact have been added in 1.19.0