PDA

View Full Version : OpenGL versatile for older computers?



Guitar Guy
08-10-2011, 10:48 PM
Hi,
I was thinking of making a game engine with OpenGL, but I was wondering if its possible to make it have really high graphics and settings for modern computers, but still be able to be downgraded (like in options or something) for older computers.

Zyx_2000
08-11-2011, 03:46 AM
That is definitely possible. Things like having different screen resolutions is really easy to implement, but if you want to take advantage of newer OpenGL versions on modern graphic cards while still having your engine being able to run on old computers, you have to implement different code paths for different versions of OpenGL.

V-man
08-11-2011, 05:48 AM
You do that by checking the GL version
http://www.opengl.org/wiki/FAQ#How_do_I_tell_what_version_of_OpenGL_I.27m_usi ng.3F

and for extensions, well, you check if the extension is in the list or not.