Joey de Vries
45f4f469d0
Add Basic Lighting exercises to repo.
2020-05-17 18:04:36 +02:00
Joey de Vries
ceff4a43f5
Fix CMakeLists debug paths so debugging in the editor works (with correct shader paths).
2020-05-17 17:34:44 +02:00
Joey de Vries
e7d809b317
Readjust camera's FOV zoom code.
2020-05-17 17:06:07 +02:00
Joey de Vries
ef0dcfd5ab
add folder number.
2020-05-12 15:17:14 +02:00
Joey de Vries
59c4aafb60
Add camera exercise solutions to repo.
2020-05-12 15:15:57 +02:00
Joey de Vries
d67c29e9d8
Add exercise3 of coordiante systems chapter to repo.
2020-05-08 22:03:53 +02:00
Joey de Vries
9a582d850c
Add exercise1 to repo so it works on gh code viewer.
2020-05-08 21:35:59 +02:00
Joey de Vries
216a9283c3
Fix deferred and SSAO chapters to now use backpack model (and apprpriate resolution).
2020-05-05 13:59:18 +02:00
Joey de Vries
f36653f736
Source/model tweaks for updated revision.
2020-05-04 10:57:08 +02:00
Joey de Vries
66d51ae668
Update model chapter, and add new backpack model to repo (w/ attribution mention). Also use new model on deferred source code.
2020-04-30 14:32:14 +02:00
Joey de Vries
f9ae66b16a
Breakout spriterenderer: User-code expects rotation in degrees, make sure to convert to radians during transform generation.
2020-04-29 17:40:12 +02:00
Joey de Vries
8d8a449480
Update mesh include class to match updated Mesh chapter.
2020-04-29 15:46:23 +02:00
Joey de Vries
481d9b7957
Update Assimp lib/dll/includes. Update glfw3 lib (all 64 bit now).
2020-04-29 15:24:03 +02:00
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
37892e5370
Missed a few code files for removing the unnecesasry OS X compile comment.
2020-04-23 11:59:53 +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
a8499a2668
Fix infinite loop error w/ unsigned ints used on decrementing for counters.
2020-04-22 12:58:38 +02:00
Joey de Vries
7452f38392
Merge pull request #162 from lnslbrty/master
...
fixed compiler warnings reported by gcc/clang
2020-03-22 12:43:59 +01:00
Toni Uhlig
dcdf94fce7
fixed compiler warnings reported by gcc/clang
...
* changed some catch blocks to use exception references instead of value types
* fixed missing use of SCR_WIDTH/SCR_HEIGHT for glfwCreateWindow
* fixed implicit numeric type casts regarding signedness
* removed unused variables
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-03-18 18:34:17 +01:00
Joey de Vries
3fe2e0ad4a
Merge pull request #151 from ReDucTor/patch-1
...
Fixing spacing in mesh.h
2019-12-23 11:59:10 +01:00
James
ef18a856b8
Fixing spacing in mesh.h
...
This file doesn't display properly in the code viewer due to a mixture of spaces and tabs
https://learnopengl.com/code_viewer_gh.php?code=includes/learnopengl/mesh.h
2019-12-23 09:14:40 +11:00
Joey de Vries
f1c835bb3f
Merge pull request #149 from 01e9/master
...
Replaced outdated docker/ with script in readme
2019-12-15 15:21:09 +01:00
Oleg Artene
a33c83b680
readme: added "Linux building in Docker"
2019-12-14 22:53:54 +02:00
Oleg Artene
90bbcdb4d0
deleted docker/
2019-12-14 22:53:33 +02:00
Joey de Vries
2300a20eb0
For Bloom tutorial, make sure second MRT target's BrightColor is assigned a default value (appears to break on some drivers/cards).
2019-01-09 13:03:22 +01:00
Joey de Vries
d4af863bc3
Adjust light values to hit bloom threshold.
2019-01-08 20:56:26 +01: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
Joey de Vries
239c456ae9
Merge pull request #127 from tim3385/master
...
LN134: The second parameter internalFormat GL_RGB will not work on Op…
2018-11-24 20:51:28 +01:00
houstond
d07b463cfc
LN134: The second parameter internalFormat GL_RGB will not work on OpenGL es. GL_RGB should be GL_RGBA.
2018-11-24 12:03:07 +08:00
Joey de Vries
e2d82e2cfb
Merge pull request #118 from linesight/master
...
fix unreferenced local variable warning
2018-09-20 13:37:31 +02:00