View Full Version : Artifacts at skybox cube corners
02-15-2004, 09:57 AM
I have a cubic skybox: all the six textures are perfect, but i get artifacts at corners, you can see that quads seems separated even if they are perfectly matching one to each other.
Here is a screenshot: http://www.web-discovery.net/artifacts.jpg
Do i have to switch to a sphere skybox or there is a solution to this ?
02-15-2004, 11:23 AM
02-15-2004, 12:39 PM
i do use it as it follows:
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
02-15-2004, 12:46 PM
(just quickfix idea, so discard if you want perfect solution)
it probably originates in low precision of
some depth data or things like that,
so when you adjust the sizes of sides of the cube that they will overlap each other just a little, you may get the desired result
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.