Hi…
With my new notebook I’m seeing some artifacts at the borders of textures: in particular, when I want to GL_CLAMP the values (like it’s good to do in skyboxes, for example). This app ran fine with a lot of other machines.
What I see is a dark line at the edge that with my old pc I haven’t ever seen.
I’m sure some post talked of it but I wasn’t able to find it, and it seemed that it was a matter of video card…
Someone can help me?
Thanks in advance!
fz
You can give your texture a border, or set its wrapping mode to to GL_REPEAT or GL_CLAMP_TO_EDGE.
You may have to do a #defile GL_CLAMP_TO_EDGE 0x812F before GL_CLAMP_TO_EDGE will work.
Thanks a lot!
That was what I needed!
But… where can I find an updated gl.h without defining other GL_stuff ?
fz
Originally posted by reubenhawkins:
You may have to do a #defile GL_CLAMP_TO_EDGE 0x812F before GL_CLAMP_TO_EDGE will work.
Why do you need to defile GL_CLAMP_TO_EDGE? What did it ever do to you!?