Skyboxes - Bright lines at some edges
Hi, I''ve recently started working with skyboxes and I''ve ran into something bad =). The thing is that I get some weird bright lines at the edges of the textures. How would I go about to fix this? I''m using the GameTutorials'' textures.
Thanks, BauerGL.
CUselessStuff::NiftyQuote();
set the texture wrap parameter for texture coordinate to GL_CLAMP or GL_CLAMP_TO_EDGE (if the extension GL_EXT_texture_edge_clamp is supported) instead of GL_REPEAT.
well i think that''s it.. if i understood your prob anyway. gotta go. cya!
well i think that''s it.. if i understood your prob anyway. gotta go. cya!
Hmm, well that's just what I've done!
Something else?
Thanks anyway for your time, BauerGL.
EDIT: If this is what you mean:
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);
CUselessStuff::NiftyQuote();
Edited by - BauerGL on March 9, 2002 8:37:06 PM
Something else?
Thanks anyway for your time, BauerGL.
EDIT: If this is what you mean:
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);
CUselessStuff::NiftyQuote();
Edited by - BauerGL on March 9, 2002 8:37:06 PM
Yeah, if you''re using textures that don''t fit together, you''ll get seams like that.
Later,
ZE.
//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links
[if you have a link proposal, email me.]
Later,
ZE.
//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links
[if you have a link proposal, email me.]
Screenshot and/or code dump would be a big help
-------- E y e .Scream Software --------
----------------------------------------
/-\
http://www.eyescream.cjb.net | * |
\-/
----------------------------------------
-------- E y e .Scream Software --------
----------------------------------------
/-\
http://www.eyescream.cjb.net | * |
\-/
----------------------------------------
Screenshot especially.
//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links
[if you have a link proposal, email me.]
//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links
[if you have a link proposal, email me.]
Freaky. Please post a link to download one of your textures, preferably the one most prevalent in the second screenie.
Later,
ZE.
//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links
[if you have a link proposal, email me.]
Later,
ZE.
//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links
[if you have a link proposal, email me.]
It is a clamping problem - but you can often also solve it by using NEAREST rather than LINEAR filtering. This assumes the textures do in fact line up properly, which I suspect they do.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement