Commit Graph

594 Commits

Author SHA1 Message Date
Joey de Vries
a11954e474 Merge pull request #249 from arbmarton/csm_update
Simplified CSM code, removed some comments.
2021-10-08 09:54:57 +02:00
arby
c7102b1d9b Simplified CSM code, removed some comments. 2021-10-07 23:28:51 +02:00
Joey de Vries
6f03f5a959 Another source code update on skeletal animation article. 2021-09-10 17:09:29 +02:00
Joey de Vries
a051a65d80 Updated source code files of skeletal animation guest article. 2021-09-08 20:43:58 +02:00
Joey de Vries
0ce49088e5 Add source code for the cascaded shadow mapping guest article. 2021-09-08 19:06:07 +02:00
Joey de Vries
54dd372518 Add source files for scene (graph + frustum culling) guest article. 2021-09-02 15:27:27 +02:00
Joey de Vries
0d538f002d Use numerator instead of nominator (re-applied previous commit). 2021-09-01 12:43:10 +02:00
Joey de Vries
2ef9c55f16 Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL
# Conflicts:
#	src/6.pbr/1.1.lighting/1.1.pbr.fs
#	src/6.pbr/1.2.lighting_textured/1.2.pbr.fs
#	src/6.pbr/2.1.1.ibl_irradiance_conversion/2.1.1.pbr.fs
#	src/6.pbr/2.1.2.ibl_irradiance/2.1.2.pbr.fs
#	src/6.pbr/2.2.1.ibl_specular/2.2.1.pbr.fs
#	src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.pbr.fs
2021-09-01 12:42:27 +02: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
Joey de Vries
bad2db3fe5 Merge pull request #247 from JelleVos1/patch-1
Update textures.cpp
2021-09-01 11:18:14 +02:00
Jelle Vos
c85067d4fe Update textures.cpp
On line 109 glGenerateMipmap is getting called but the GL_TEXTURE_MIN_FILTER uses GL_LINEAR. Changed it to GL_LINEAR_MIPMAP_LINEAR
2021-08-28 19:04:33 +02:00
Joey de Vries
48010de993 Merge pull request #245 from cyaneko/patch-1
Fix a minor bug in rear view mirror
2021-08-20 15:06:35 +02:00
cyaneko
b7a196ba4a Fix a minor bug in rear view mirror
Rotating both the Yaw and Pitch would cause the mirror to display whatever was in front but with Pitch * -1, this fixes this behaviour. Tested.
2021-08-19 21:10:57 +02:00
Joey de Vries
e48244d8b6 Merge pull request #234 from gonnavis/master
Fix typo: nominator to numerator.
2021-05-27 15:03:43 +02:00
Joey de Vries
bbf73afc30 Merge pull request #233 from lasagnaphil/master
Fix bug: glDisable(GL_DEPTH) -> glDisable(GL_DEPTH_TEST)
2021-05-27 15:02:24 +02:00
gonnavis
c976eee7ea Fix typo: nominator to numerator. 2021-05-06 17:26:13 +08:00
Phillip Chang
4dc5862c12 Fix bug: glDisable(GL_DEPTH) -> glDisable(GL_DEPTH_TEST) 2021-05-05 23:46:21 +09:00
Joey de Vries
85ee9d136f Use normalized cross product results for irradiance map generation in PBR tutorials. 2021-04-07 10:00:07 +02:00
Joey de Vries
bc41d2c019 Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL 2021-03-21 13:33:26 +01:00
Joey de Vries
0e424d3710 Add first version weighted blended OIT source code for OIT guest article. 2021-03-21 13:33:22 +01:00
Joey de Vries
8535617490 Merge pull request #222 from kirinzer/patch-1
Update README.md
2021-02-19 09:34:37 +01:00
Haitao Liu
2f21af137a Update README.md 2021-02-19 11:45:06 +08:00
Joey de Vries
c272fd263e Add assimp glm helpers. 2021-02-07 20:37:11 +01:00
Joey de Vries
90f44b65bb Update include files to add appropriate model_animation include. 2021-02-07 19:15:34 +01:00
Joey de Vries
e72d3e05d7 Include cpp skeletal animation tutorial file. 2021-02-07 19:13:14 +01:00
Joey de Vries
01a2962d01 Add model and include files for Ankit's Skeletal Animation tutorial. 2021-02-07 19:11:46 +01:00
Joey de Vries
dfcf5ed149 Add levels to breakout 2D source code. 2021-01-24 10:37:09 +01:00
Joey de Vries
95ed602bd6 Also update hello triangle example. 2021-01-20 16:28:47 +01:00
Joey de Vries
ac661d85f3 Use unsigned ints for shader ids. 2021-01-20 16:22:44 +01:00
Joey de Vries
73ff9934d0 Update PBR lighting chapter to support large DGGX values as 0-clamp was too high. 2020-12-30 09:55:55 +01:00
Joey de Vries
9a46ecf526 Prevent 1.0 - cosTheta from becoming negative due to small FP inaccuracies. This can cause NaNs otherwise. 2020-12-13 13:53:56 +01:00
Joey de Vries
d444d98da7 Merge pull request #205 from NicholasBlaskey/master
Changed some incorrect comments regarding where the metallic/roughnes…
2020-10-12 10:09:27 +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
Joey de Vries
b6da46b9f3 Create FUNDING.yml 2020-10-08 14:26:19 +02:00
Joey de Vries
c0e37ada7b Merge pull request #202 from NicholasBlaskey/master
Renamed sample -> samplePos because sample is a keyword in future glsl versions
2020-10-08 10:05:22 +02:00
Nicholas Blaskey
649f40b01e Renamed sample -> samplePos because sample is a keyword in future glsl versions 2020-10-07 18:13:51 -04:00
Joey de Vries
c0b8cb6d5b Merge pull request #201 from NicholasBlaskey/master
Removed a duplicate line of setting a uniform
2020-10-06 09:47:36 +02:00
Nicholas Blaskey
3ee14a3c2d Removed a duplicate line of setting a uniform 2020-10-05 15:44:30 -04:00
Joey de Vries
c4fae25e8a Merge pull request #200 from github-jane-doe/public/typos
Typos
2020-10-04 18:59:26 +02:00
Jane Doe
2753224137 necessery -> necessary 2020-10-04 09:44:29 -07:00
Jane Doe
b1e0d26d35 minifcation -> minification 2020-10-04 09:43:29 -07:00
Jane Doe
b91f519d6f declerations -> declarations 2020-10-04 09:41:34 -07:00
Jane Doe
cb871509fa seperated -> separated 2020-10-04 09:40:26 -07:00
Jane Doe
1ff4bf03c2 treshold -> threshold 2020-10-04 09:40:06 -07:00
Jane Doe
e9467e18ed Mathemtics -> Mathematics 2020-10-04 09:35:17 -07:00
Joey de Vries
0a8d6e582c Merge pull request #192 from daeunSong/master
Generate smooth normals
2020-08-19 10:32:20 +02:00
daeunSong
5e511ef621 Generate smooth normals 2020-08-19 16:20:52 +09:00
Joey de Vries
a25bb571c8 Merge pull request #191 from ButchDean/master
Fixed compile warning.
2020-08-16 13:21:03 +02:00
Dean Butcher
6ccb76e4c8 Fixed compile warning. 2020-08-15 20:05:58 -03:00
Joey de Vries
9ee05dda15 Merge pull request #190 from daeunSong/master
Fix texture coordinate tangent and bitangent calculation
2020-08-13 11:07:38 +02:00