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

Merry Christmas #1321

Merged
merged 9 commits into from
Dec 5, 2013
Merged

Merry Christmas #1321

merged 9 commits into from
Dec 5, 2013

Conversation

pjcozzi
Copy link
Contributor

@pjcozzi pjcozzi commented Nov 28, 2013

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

options.alpha = false;
}
options = defaultValue(options, {});
options.allowTextureFilterAnisotropic = defaultValue(options.allowTextureFilterAnisotropic, true);
Copy link
Contributor

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.

Copy link
Contributor Author

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, {});

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Dec 5, 2013

Ready for another review. Merry christmas and happy new year.

shunter added a commit that referenced this pull request Dec 5, 2013
@shunter shunter merged commit fd228cb into master Dec 5, 2013
@shunter shunter deleted the christmas branch December 5, 2013 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants