Skip to content

Z-fighting / dept buffer glitches in equidistant mode #1

Description

@johanjohan

Hi @hiroMTB , thank you for this very usable addon. I realize some depthbuffer glitches in TRIANGLE_SHADER mode when I draw ofBoxPrimitives for testing. Could you recommend a method to get rid of these glitches? So far I was only trying wth near/far clipping planes with no change at all.

I use
glEnable(GL_DEPTH_TEST);
glClear(GL_DEPTH_BUFFER_BIT);
glDepthFunc(GL_LESS);

BTW it works on windows10 OF 0.11.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions