Commit Graph

19 Commits

Author SHA1 Message Date
Joey de Vries
f9cae3f84f Rename all occurences of 'Lamp' in Lighting chapter to 'LightCube' (VAO and Shaders). 2020-05-19 17:43:15 +02:00
Joey de Vries
0a65422760 Add multiple lights exercise to repo. 2020-05-18 15:43:50 +02:00
Joey de Vries
5b01e17c8e Another name/index fix for exercise4. 2020-05-17 18:41:52 +02:00
Joey de Vries
79f7ea744f Update lighting maps exercise code. 2020-05-17 18:39:27 +02:00
Joey de Vries
45f4f469d0 Add Basic Lighting exercises to repo. 2020-05-17 18:04:36 +02:00
Joey de Vries
91f53af052 Remove unnecessary 'uncomment' statement from all code samples. 2020-04-22 16:37:07 +02: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
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
keith2018
1a70c3efad fix shader file names 2018-04-12 10:33:41 +08:00
Shivpratap Chauhan
b5848894eb Add glfw hint for GLFW_OPENGL_FORWARD_COMPAT for more samples to let it
work on osx
2017-07-12 21:33:07 +05:30
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
Joey de Vries
e2e36d6ff8 Code re-work and content update: lighting. 2017-05-30 22:17:40 +02:00
Joey de Vries
320db41e89 Code re-work and content update: lighting. 2017-05-30 19:23:56 +02:00
Joey de Vries
02784e1edf Code re-work: model loading 2017-04-12 22:51:42 +02:00
Joey de Vries
d99731d752 Lighting tutorial code updates. 2017-04-12 00:12:58 +02:00
Joey de Vries
4b4e0cc839 Code re-format: lighting. 2017-04-10 22:08:47 +02:00
Joey de Vries
494dba710d Issue #43 2016-10-24 09:10:12 +02:00
Marin Nilsson
a8a8d11f22 Support for out-of-source builds.
Uses environment variable to tell the program where to find resource
files.
Sharder sources are still search for in the current workind directory.
2015-07-30 21:48:41 +02:00
Joey de Vries
f28ad1e256 Initial commit, all code samples with working CMake script for VS/Windows. 2015-03-23 15:42:04 +01:00