Commit Graph

27 Commits

Author SHA1 Message Date
Joey de Vries
ab132220a9 Add (updated) source code for Text Rendering chapter. 2020-04-29 13:51:53 +02:00
Joey de Vries
6d1136d09a Update debugging example code to match Debugging chapter updates. 2020-04-29 11:57:45 +02:00
Joey de Vries
39cdda55e4 Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL 2020-04-29 10:41:42 +02:00
Joey de Vries
88ab67dad2 Add glDeleteProgram call to relevant examples. 2020-04-29 10:41:28 +02:00
Joey de Vries
6d2976e4f9 Merge pull request #166 from FlexW/patch-1
Zero out memory from color variable
2020-04-29 10:36:00 +02:00
Joey de Vries
82b066067f Update Breakout source code to match updates Text Rendering chapter. 2020-04-28 14:46:15 +02:00
Felix Weilbach
c91f8d65a5 Zero out memory from color variable
According to [here](https://www.khronos.org/opengl/wiki/Type_Qualifier_(GLSL)#Fragment_shader_outputs) memory of a fragment shader variable is initialized with undefined values. Therefore it should be zeroed out.
2020-04-27 16:44:24 +02:00
Joey de Vries
be066bcb6e Add Breakout progress code for Audio chapter. 2020-04-27 15:00:23 +02:00
Joey de Vries
75c6d5fa97 Update Breakout progress code for PowerUps chapter. Also few missed items on prev. progress code. 2020-04-27 14:26:24 +02:00
Joey de Vries
596c654c2c Add progress code item for Breakout's PostProcessing chapter. 2020-04-26 12:58:03 +02:00
Joey de Vries
9a34b34b32 Fix include error on 6.game.cpp progress. 2020-04-25 16:58:38 +02:00
Joey de Vries
4b890eca6b Update Breakout code for revised Particles chapter. 2020-04-25 16:57:19 +02:00
Joey de Vries
abbcac5743 Add game progress code for Breakout collision chapters. Add forgotten destructor logic on previous progress files. 2020-04-24 15:51:32 +02:00
Joey de Vries
01def67b0d Add progress ball object code. 2020-04-23 12:30:50 +02:00
Joey de Vries
85af3b93fa Fix awesomeface alpha channel on texture. 2020-04-23 12:30:38 +02:00
Joey de Vries
90163ce702 Forgot to add relevant include. 2020-04-23 12:01:15 +02:00
Joey de Vries
351c968373 Update breakout code to match revised changes 'Levels' chapter. 2020-04-23 12:00:15 +02:00
Joey de Vries
1f05d38e1e Breakout changes for revision 'Rendering Sprites' 2020-04-22 19:02:20 +02:00
Joey de Vries
91f53af052 Remove unnecessary 'uncomment' statement from all code samples. 2020-04-22 16:37:07 +02:00
Joey de Vries
e046977ffb Update Breakout code for 'Setting up' chapter. 2020-04-22 16:35:13 +02:00
Joey de Vries
599355fba8 First chapter-specific progress breakout code; test to see if I can link these directly from article. 2020-04-22 16:05:11 +02:00
Joey de Vries
d756ed80fa Add full source code of the finished (and revised code) Breakout example. Not set up for cross-platform compilation as it has irrKlang and FreeType dependency, but at least source code is available online (and can be referenced from Breakout chapters). 2020-04-22 15:47:23 +02:00
Joey de Vries
f4b6763356 Update GLM to latest version (0.9.9.3). This includes GLM's change of matrices no longer default initializing to the identity matrix. This commit thus also includes the update of all of LearnOpenGL's code to reflect this: all matrices are now constructor-initialized to the identity matrix where relevant. 2018-12-30 14:27:14 +01:00
Shivpratap Chauhan
2d16ef0fe2 GLFW hint GLFW_OPENGL_FORWARD_COMPAT is must on osx to create glfw
window successfully
2017-07-12 17:06:00 +05:30
Matthew Taylor
4a94fbf2bf Add commented out code to allow window creation on OSX 2017-06-18 01:53:16 +01:00
Joey de Vries
6f9706af45 Code re-work: Debugging 2017-04-25 18:59:08 +02:00
Joey de Vries
0a46f53608 Template PBR lighting tut with folder re-structure to fit PBR tuts. 2016-12-12 21:10:58 +01:00