Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualPlerion

Posted 28 March 2013 - 03:26 AM

Hello

 

I am currently rendering water and i have discovered some issues with z-fighting on ATI. I use glPolygonOffset on the water rendering to avoid z-fighting for the water.

glPolygonOffset(1.1f, 4.0f);
Pipeline::render(gLiquidGeometry, gTexInput);
glPolygonOffset(0, 0);

 

While on NVIDIA water looks perfect without any artifacts like in the following picture for ATI it is completely messed up. Not only do i get weird artifacts but it also "moves" around all the time, you might see that if you move between the 3 pictures which are taken from different camera angles.

 

NVIDIA:

51540b0cb5900_Water_OK.jpg

 

ATI:

51540c2a8cdfc_Water_BAD1.jpg

51540c2a8c93e_Water_BAD2.jpg

51540c2a8cb71_Water_BAD3.jpg

 

So i wondered: What could be the reason for that? Does anyone know any issues with that?

 

Greetings

Plerion


#1Plerion

Posted 28 March 2013 - 03:25 AM

Hello

 

I am currently rendering water and i have discovered some issues with z-fighting on ATI. I use glPolygonOffset on the water rendering to avoid z-fighting for the water.

glPolygonOffset(1.1f, 4.0f);
Pipeline::render(gLiquidGeometry, gTexInput);
glPolygonOffset(0, 0);

 

While on NVIDIA water looks perfect without any artifacts like in the following picture for ATI it is completely messed up. Not only do i get weird artifacts but it also "moves" around all the time, you might see that if you move between the 3 pictures which are taken from different camera angles.

 

NVIDIA:

51540b0cb5900_Water_OK.jpg

 

ATI:

51540c2a8cdfc_Water_BAD1.jpg

51540c2a8c93e_Water_BAD2.jpg

So i wondered: What could be the reason for that? Does anyone know any issues with that?

 

Greetings

Plerion51540c2a8cb71_Water_BAD3.jpg


PARTNERS