Part of the Khronos Group

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

    Depth Testing not working on AMD cards

    My github repository:

    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.

    * 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.


  2. #2
    Intern Contributor
    Join Date
    Jan 2018
    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


Posting Permissions

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