Black Edge Skybox


(LodeRunner) #1

I have the problem as stated in the topic. i keep hearing there’s an explanation for it, and have not found it (and yes the serch function works, but only if there’s something to find.) Can anyone explain why this happens?

I’ve also heard that there’s a way to fix it, a command or something “clamp_to_edge”. How and where does one implement this?

Any help regarding this is much appreciated, TIA.


(ydnar) #2

See here for a fairly OK explanation of why this happens.

It cannot be fixed without an update to the game exe.

y


(LodeRunner) #3

Thanks ydnar. Although I’m not a programmer, most of it made sense enough. It boils down to what version of OpenGL you have in your system. I just upgraded to a GeForce4 with Detonator 41.09 and hte problem went away. Lookis like nVidia uses the latest in OGL tech, whereas ATI still can’t get it right (as of latest Catalyst drivers for my Radeon VE still getting the effect).


(Hewster) #4

Yeah, I’ve never had a problem with my GF2 Ultra, or voodoo3000,
but my ati all-in-one radeon does it, as does my friends old rage.

I guess all ATI owners should badger ATI to get this sorted !

Hewster


(ydnar) #5

ATi’s drivers are actually correct. GL_CLAMP should clamp to the border color, which defaults to black. Nvidia’s interpretation of GL_CLAMP as GL_CLAMP_TO_EDGE is nonconformant.

y


(RabidCow) #6

Nvidia drivers had this problem for a short while as well. Now, with the latest Nvidia drivers, a checkbox for “Enable conformant OpenGL texture clamp behavior” is unchecked by default, and the problem is gone again…


(Hewster) #7

Now i feel I’ve been trapped !! lol
I go to all the effort of reading those links… Think I’m clever and that I
now understand this problem (which I’ve wondered about for some
time), conclude it must be ATI’s drivers and … wham its not lol, that will
teach me… :twak:
Even when something seems logical it don’t necessarily mean it is !
and one need’s to know everything before making a definate conclsion.
:uhoh:

Hewster

ATI I appologise :slight_smile:


(LodeRunner) #8

Tha’s interesting. ATI got something right! :stuck_out_tongue: OK, Ok, ATI’s not that bad, by Radeon worked very well, albeit slowly. Interesting that nVidia would intentionally make their drivers nonconformant whilst ATI sticks to it, when ATI is trying to snag nVidia’s market share: gamers. Maybe I’m just pickier than most, but when I play a gae, I expect it to looks good and little things like black seams in env boxes irritate me to no end.


(fraco) #9

hi,

maybe I understand it wrong here but i thought that:

  • ATI drivers implement the OpenGL CLAMP thing correct, but that makes the skyboxes (and fogs) have these seams
  • nVidia drivers have changed the interpretation of OpenGL CLAMP, which - although not spec compliant - hides the seams problem.

fraco