I have two objects that are flush against each other. When I render this in my game the seam between the objects shows as a thin white line. However, if I render it for my 3d content tool it shows no seam. Is there some opengl shader trick to avoid showing the seams between objects?
How to you make shader not show seams between objects?
Ed Welch said:
Is there some opengl shader trick to avoid showing the seams between objects?
There was an option to disable compiler optimizations about reordering math ops, so different passes with different shaders still generate the same screenspace coords from equal vertices and matrices. But not sure if that's still relevant today, and maybe not related to your problem.
You probably want to post a screenshot. It sounds like some inaccuracy is involved, e.g. coming from combining matrices with numbers of big difference in magnitudes.
You may also want to test if the problem becomes worse the further away from the origin the objects are, which would hint at a precision problem.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement