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

Sphere Mapping reverts to old mapping based on camera view angle Move Edit #45

Closed
saxondigital opened this issue Jul 12, 2014 · 0 comments
Assignees
Labels

Comments

@saxondigital
Copy link
Contributor

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-18
Created: 2012-04-18
Creator: Shane Saxon
Private: No

A rather bizarre bug in which the camera angle effects the type of mapping on the sphere. At some angles the texture map will have proper spherical mapping coordinates, at other camera angles the mapping will revert to the previous linear (non-spherical) mapping.

This hints at a more serious problem...
Discussion

Shane Saxon
Shane Saxon
2012-04-18

solved by adding code to npGLTexture() sphere texture method:
glDisable( GL_TEXTURE_GEN_S );
glDisable( GL_TEXTURE_GEN_T );

nothing serious....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant