-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add Atmosphere background shader to the scene #567
Conversation
What scenery version should we try (jitpack or whatever)? I tried 9062d7f but that doesn't seem to build on jitpack. |
I got this working with scenery = The inspector UI was working, key controls, etc. It all looks good! |
Glad to hear that, thanks! |
# Conflicts: # build.gradle.kts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is super fun. I made a video that I'll post somewhere using this :D
This PR adds the option to add an atmosphere background from the "Add" menu to the scene.
The atmosphere exposes three parameters in the inspector:
Latitude
: The current latitude of the user to display the correct sun direction based on the local timeEnable keybindings and manual control
: a checkbox to attach/detach keybindings. This allows the user to move the sun around with Ctrl + arrow keys and Ctrl + Shift + arrow keys for fast and slow movement respectivelyEmission Strength
: change the brightness of the background with a default strength of 1.This will currently require the functionality of the scenery atmosphere-shader branch that has not been merged yet.
Edit: the scenery branch has changed to this one