diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-18 01:10:47 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-09-27 13:41:46 +0200 |
| commit | 486c4d7825a151dcf00e3504a8195bff8afddcb3 (patch) | |
| tree | 7989b4c1d9b133dd44069546b7ad6491fc842a00 /hacks/gl-notes | |
| parent | dcd9afacd67975a9e20a6d1c4b3998c2890f1c16 (diff) | |
Add some OpenGL-related notes and hacks.
Diffstat (limited to 'hacks/gl-notes')
| -rw-r--r-- | hacks/gl-notes | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/hacks/gl-notes b/hacks/gl-notes new file mode 100644 index 000000000..0b1b11c2e --- /dev/null +++ b/hacks/gl-notes @@ -0,0 +1,17 @@ +4.3 with compute shaders "came out in 2012" +Anything before 3.0 is deprecated (especially anything with glBegin/glEnd) + +https://stackoverflow.com/questions/14300569/opengl-glbegin-glend +"The direct mode API with glBegin and glEnd is deprecated, largely for performance reasons." +"Using VBOs scales better" + +OpenGL 3.3 tutorials (written 2012) +http://www.opengl-tutorial.org/ + +An intro to modern OpenGL (written 2010) +https://duriansoftware.com/joe/an-intro-to-modern-opengl.-table-of-contents + +Learning Modern 3D Graphics Programming (written 2012) +https://web.archive.org/web/20140209181347/http://www.arcsynthesis.org/gltut/ + +"Since OpenGL3.3 most old stuff was moved to compatibility profile, while modern features are core profile; the latter requires self-written shaders, but they should be pretty simple for your case). |
