Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Depth Testing not working on AMD cards

  1. #1
    Intern Contributor
    Join Date
    Jan 2018
    Posts
    51

    Depth Testing not working on AMD cards

    My github repository:
    https://github.com/gordonfreeman424/GeklminRender

    Depth testing does not work, period, for AMD users, and intel users are getting issues too.

    You can look at my main render function in SceneAPI.CPP

    Everything works fine on Nvidia.

    Suspects:
    * The FBO class does some trickery with depth buffers
    * I'm dicking around with glDepthMask a lot in SceneAPI.cpp

    I have tried everything from:
    * Sticking glEnable(GL_DEPTH_MASK) everywhere
    * Removing all glDepthMask(GL_FALSE) calls
    * Adding more glDepthMask(GL_TRUE) calls
    * Changing to additive transparency in my pipeline (In the demo, right clicking)

    Please, tell me how to fix this.

    -Geklmin

  2. #2
    Intern Contributor
    Join Date
    Jan 2018
    Posts
    51
    PROBLEM SOLVED!!!
    My Weighted Blended Order Independent Transparency was screwing up on AMD and INTEL because I was trying to composite the depth buffer onto itself

    On NVIDIA, the card was smart enough to avoid that automatically

    I should have been smarter

    THANKS SO MUCH!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •