Menu
The first computer mouse had only one button.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Depth testing Memes
Posts tagged with Depth testing
At Least It's An Easy Fix
Gamedev
Programming
Debugging
Unity
C++
21 days ago
62.0M views
0 shares
You know that moment when you're debugging for 3 hours trying to figure out why your 3D rendering looks like a Picasso painting had a baby with a glitch art exhibition? Then you realize you forgot to enable depth testing and suddenly everything just... works. One line of code. glEnable(GL_DEPTH_TEST) . That's it. Without depth testing, OpenGL just draws triangles in the order they're submitted, turning your beautiful 3D scene into an abstract art piece where far objects render on top of near ones. The Z-buffer sits there unused, watching you suffer. The fix takes 2 seconds. The debugging? That's your entire afternoon gone. Graphics programming: where forgetting one flag turns your game engine into modern art.
Today's picks
Where's The Love
Programming
149.4M views
6 days ago
I Didn't Do It
Programming
390.8K views
1 year ago
ZUKIY Ohms Deftones Pixel Eyes - Dark Rock Poster Wall Art 8x10 Unframed - Heavy Metal Band Inspired Decor for Bedroom Studio Office - Emo Goth Aesthetic Tapestry Style Print for Music Lovers
Affiliate
$9.99