OpenGL Distance Optimizations
Well, but did you figure out how to set your depth testing precision in SDL?
When you're setting up SDL, try:
When you're setting up SDL, try:
Code:
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);
That seems to work. I don't really notice a difference in the rendering though. What exactly is the change in depth buffer precision supposed to do?
Learn about depth buffer precision.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Signed Distance Fields for Alpha Tested Magnification of Vector Textures | maximile | 2 | 4,582 |
Mar 29, 2010 10:59 AM Last Post: Skorche |
|
| Point distance attenuation with OGL-extension - how? | mcMike | 6 | 4,910 |
May 21, 2008 10:58 PM Last Post: mcMike |
|

