-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Merry Christmas #1321
Merry Christmas #1321
Conversation
…tContextAttributes
options.alpha = false; | ||
} | ||
options = defaultValue(options, {}); | ||
options.allowTextureFilterAnisotropic = defaultValue(options.allowTextureFilterAnisotropic, true); |
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.
In other places we clone the incoming options object before modifying it.
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.
Updated, but we're really inconsistent about this. I checked a few places before first making this change and we did not clone. We should probably create a helper function for something like
options = clone(options, true);
options = defaultValue(options, {});
Ready for another review. Merry christmas and happy new year. |
Merry Christmas @shunter.
This contains the ability to turn off anisotropic texture filtering and define the screen-space error for the central body. Set it to something big like 128 for kicks.
This does not include the ability to set the fragment shader's precision, which makes our shaders violate the GLSL spec anyway. #817