-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Globe Lighting #1251
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
Globe Lighting #1251
Conversation
Conflicts: CHANGES.md
@@ -227,6 +254,12 @@ define([ | |||
}, | |||
u_oceanNormalMap : function() { | |||
return that._oceanNormalMap; | |||
}, | |||
u_lightingFadeOutDistance : function() { |
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.
Make these a single vec2
uniform. Setting individual uniforms - especially for this particle shader - is one of our bottlenecks.
Can we add a simple rendering test for when |
The difference between the fade distances is a little quick for me, but it's up to you. Consider using |
@pjcozzi This is ready. |
Adds temporary globe lighting that is disabled by default.
@emackey Feel free to make any tweaks that you think could make it look better.