Can anyone tell me out how remove the seams in the skybox implementation I have here:
source code:
http://openglviewcontroller.codeplex.com/SourceControl/list/changesets
I’ve been trying GL_CLAMP_TO_EDGE to no avail.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to set
GL_CLAMP_TO_EDGEon bothGL_TEXTURE_WRAP_SandGL_TEXTURE_WRAP_T, usually near texture creation for clarity:Also, you seem to be assuming
GL_TEXTURE_WRAP_*comes along for the ride when you bind another texture; this is not the case. It’s an aspect of a particular texture object’s state, not the GL state as a whole.