Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day/night cycle #154

Merged
merged 25 commits into from
Jul 17, 2020
Merged

Day/night cycle #154

merged 25 commits into from
Jul 17, 2020

Conversation

Unarelith
Copy link
Owner

@Unarelith Unarelith commented Jul 14, 2020

Fixes #73 .
Related to #76, #77.

Checklist:

  • Put far plane back to 1000.0f
  • Add sun and moon with their own shader
  • Use textures for sun and moon
  • Add stars
  • Add game time info in GameConfig (or in its own GameTime object)
    • On the first run, the day should start at 6:00am
    • The server should send the time of the day to keep the clients in sync
    • The time of the day should be saved on server close
    • Add command /time get/set <value>
  • Add Lua API settings to control per sky definition:
    • If the sky has a day/night cycle
    • The speed of the cycle
    • If the sky has a moon/sun
    • Document those changes
  • Add sunrise/sunset red effect (will require a skybox) Sunrise/sunset red effect #158
  • Find a way to lower AO effect, it's far too visible
  • Make sure there is no lighting difference between before this PR and at 12:00pm in this PR
  • Check that everything works with a different sky color (eg. nether)
  • Edit "project status" section in the README
  • Edit Roadmap
Screenshots

Screenshot-2020-07-15-14-36-54
Screenshot-2020-07-15-01-06-02

@Unarelith Unarelith mentioned this pull request Jul 14, 2020
@Unarelith Unarelith changed the title Day night cycle + skybox + sun/moon display Day/night cycle + Skybox Jul 14, 2020
@Unarelith Unarelith changed the title Day/night cycle + Skybox Day/night cycle Jul 15, 2020
@Unarelith Unarelith force-pushed the day-night-cycle branch 2 times, most recently from 3404d9c to 79e197e Compare July 16, 2020 01:59
@Unarelith Unarelith marked this pull request as ready for review July 17, 2020 17:58
@Unarelith Unarelith merged commit f42c71a into master Jul 17, 2020
@Unarelith Unarelith deleted the day-night-cycle branch July 17, 2020 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Day/night cycle
1 participant