Jump to content
  • Advertisement
Sign in to follow this  
Armagedon

Weird artifacts on borders of triangles

This topic is 544 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

 

I've got strange artifacts on borders of triangles when rendering scene to texture, then applying it to other mesh.

As picture is worth a thousand words, here is a screenshot(here better quality: https://www.dropbox.com/s/qaqptxeojft3ggf/artifacts.png?dl=0):

[attachment=34607:artifacts.png]

 

What i learned from debugging is that problem occurs when rendering scene to texture, but in mainpass problem doesn't occur. I thought about some NaNs in shader, but even when i'm outputting solid color value artifacts occur(less visible, but still).

It only happens on borderes of triangles(artifacts layouts matches wireframe).

 

Do you have any idea what could output that weird results?

Edited by Armus

Share this post


Link to post
Share on other sites
Advertisement
Do you have any idea what could output that weird results?

Are the vertex's on adjacent triangles exactly the same?  If not I've heard floating point accuracy comes into play and can cause holes between triangles.

 

edit - actually I don't know if its FP accuracy or just rasterization "rules".

Edited by Infinisearch

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!