N. Pattakos
72f3e37150
fix narrowing conversions (eg double to float, size_t to GLsizei)
2022-01-08 00:20:26 +01:00
Joey de Vries
946cbc9118
Fix PBR source code inconsistencies (thanks Andrei!). Also fix winding order sphere and update CMake min. version.
2021-09-01 12:40:43 +02:00
Nicholas Blaskey
03c814d403
Changed some incorrect comments regarding where the metallic/roughness values come from
2020-10-11 17:25:54 -04:00
Jane Doe
b1e0d26d35
minifcation -> minification
2020-10-04 09:43:29 -07: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
a8499a2668
Fix infinite loop error w/ unsigned ints used on decrementing for counters.
2020-04-22 12:58:38 +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
Joey de Vries
2e0035a8d4
fix: use radians instead of degrees for camera zoom.
2017-09-21 08:35:13 +02: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
18e5fdb443
Code/content re-work: getting started.
2017-05-29 23:47:28 +02:00
Joey de Vries
13ad6528cd
Final updates on PBR tutorials w/ updated code.
2017-05-28 08:52:26 +02:00
Joey de Vries
a398a343a4
PBR Shader fix to code standard.
2017-05-26 15:49:29 +02:00
Joey de Vries
ecd23d4de0
All PBR tuts updated.
2017-05-26 15:00:56 +02:00
Joey de Vries
d2a4a1e655
PBR IBL Specular tutorial code.
2017-03-31 22:34:26 +02:00