Menu
Refactoring: Creating tomorrow's legacy code today.
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++
8 hours ago
14.7M 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
Kensington Expert Trackball Mouse (K64325), Black Silver, 5"W x 5-3/4"D x 2-1/2"H
Affiliate
$58.00
Happened recently... Love JS
Debugging
55.9K views
3 years ago
Writing good code is the one thing everyone wants to do but nobody knows how to do
Programming
91.3K views
3 years ago