chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
642 stars 76 forks source link

Native Night Support #731

Open carterlasalle opened 3 years ago

carterlasalle commented 3 years ago

If night support was build in, aka, you lower the sun altitule, and then it is automatically into the night. So that would include sky brightness, sun intensity, the moon. It would not just set the sky brightness to 0.1, it would change the engine for the sky. Lighting would change to the moon, the fog would auto-enable, the Fullbright horizon effect would go away.

leMaik commented 3 years ago

Great idea! Why I wouldn't necessarily make this automated, being able to optionally enable moon, stars and have different moon phases, would be a really cool feature.

Sky brightness, sun intensity, auto-enabled fog, horizon effect: I wouldn't want to automate that. Maybe we can add presets for settings. The full-bright horizon effect is due to the way the simulated sky works.

On a different note: Moon and sun are actually visible at the same time most of the days.

carterlasalle commented 3 years ago

Well, I think that if you lower the sun altitude below the horizon, that it would bring up the moon and the stars, compared to having it stay above as it does right now

jackjt8 commented 3 years ago

Related to issue #86 however as this one has more information I'll close the original issue.

Regarding setting the Sun altitude below 0 degrees there is issue #497 which is open. Making sure to reference it here in case this gets implemented. Both the Simulated Sky and Fog are tied into the sun position and may experience unexpected behaviour.