Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why Isn depth buffering working at all?

buffering depth working
0
Posted

Why Isn depth buffering working at all?

0

Be sure you’re requesting a depth buffered-visual. If you set the MESA_DEBUG environment variable it will warn you about trying to enable depth testing when you don’t have a depth buffer. Specifically, make sure glutInitDisplayMode is being called with GLUT_DEPTH or glXChooseVisual is being called with a non-zero value for GLX_DEPTH_SIZE. This discussion applies to stencil buffers, accumulation buffers and alpha channels too.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123