-
Notifications
You must be signed in to change notification settings - Fork 53
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
Skybox #991
Skybox #991
Conversation
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.
Could you remove the stars?
Resolved all changes |
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.
Some minor clarifying points. When you get the chance try to resolve the merge conflicts (unless @HunterBarclay does it for you 🙃). If you need any help with that feel free to grab me!
removed redundant variables in fragment & vertex glsl files removed redundant uTime from code (previously used for moving clouds) Deleted useful code fragments that were commented out uncommented mirabuf
@HunterBarclay @BrandonPacewic do the changes to skybox fix everything for you? |
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.
Looking good for now. We'll be changing up theme and what not pretty significantly so we'll address changes then
/* | ||
* Updates the skybox colors based on the current theme | ||
|
||
* @param currentTheme: current theme from ThemeContext.useTheme() |
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.
Probably best to have this than not. I would prefer that we standardize whether or not we want these kinds of doc strings at some point but that's a moot point anyways.
Looks good to me!
Description
Created a spherical skybox using glsl shaders. The skybox is currently implemented in the SceneRenderer.ts file and uses the glsl shaders located in @/shaders. In /public/ there is the custom starry_sky.png used to create the stars. These will most likely be removed or changed.
Key Features:
Warning
The renderer for the robot has been commented out in this code. There are also numerous changes to the tsconfig & vite config.
JIRA Issue