Hi. I am writing a program that converts cubemap to fisheye. The problem that i face is that i cann’t (or more correct i don’t know how to) make the bordering pieces of the cubemap (that are mapped on the sphere) look attached completely and instead i use :
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_S, GL_CLAMP);
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_T, GL_CLAMP);
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_R, GL_CLAMP);
but then the bordering sides are like dark lines which is not nice as an effect. Can anyone help how can i make it look solid and not broken?
PS: Any help is good!!!