Commit Graph

251 Commits

Author SHA1 Message Date
Jonas Sorgenfrei
ace261e60f Delete composite.vs 2022-04-04 01:53:15 +02:00
Jonas Sorgenfrei
5e51f03c20 Delete composite.fs 2022-04-04 01:53:08 +02:00
Jonas Sorgenfrei
801be81baa end of file 2022-04-04 01:48:17 +02:00
Jonas Sorgenfrei
c6385183b3 compute shader 2022-04-04 01:44:24 +02:00
arby
f144783220 Removed bogus line of code 2022-03-18 23:24:49 +01:00
Laszlo Papp
9941098651 Fix the compilation issue on Mac 2022-03-05 17:09:39 +00:00
Ankit Singh Kushwah
8aae281d6c Merge branch 'JoeyDeVries:master' into master 2022-03-02 09:13:08 +05:30
ankitgamezop
5e99d5e186 corrected shader uniform name 2022-03-02 09:11:28 +05:30
Joey de Vries
9cbc884dd6 Merge pull request #275 from NonLinearGuy/master
Fixed errors in skeletal animation code
2022-02-20 17:50:22 +01:00
arby
876053d332 Added a visualizer for shadow cascade volumes. 2022-02-19 20:21:08 +01:00
ankitgamezop
cc6b0b7834 Fixed errors in skeletal animation code 2022-02-19 23:16:20 +05:30
Joey de Vries
6f9610815f Merge pull request #272 from arbmarton/guest_build_errors
Some guest article build error fixes
2022-02-18 18:18:39 +01:00
Pierce
f9812ac1cf Update cubemaps_environment_mapping.cpp 2022-02-18 14:03:43 +08:00
arby
938e57f071 Fixed some build errors. 2022-02-17 19:42:50 +01:00
RandomErrorMessage
63362578f2 bugfix: (int)4 -> (float)4.0 2022-01-16 16:28:15 -08:00
Joey de Vries
d57df39bf5 Add source code for DSA guest chapter. 2022-01-11 14:15:04 +01:00
Joey de Vries
2b578f8d69 Add source code for tessellation guest chapters. 2022-01-11 13:51:04 +01:00
Joey de Vries
0f3d3160bb Merge pull request #262 from pattakosn/master
fix compiler/linker warning messages
2022-01-11 11:28:37 +01:00
can
29f1c099ac fix texture coordinate 2022-01-10 14:16:44 +03:00
N. Pattakos
93be6f82ab update merge request as requested by JoeyDeVries: no auto or GLtypes 2022-01-10 00:45:44 +01:00
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
b49ea10348 Fix correct shader names skeletal animation. 2021-11-23 14:01:54 +01:00
SnowyLake
31c2cf3a9a bugfix: In cubemaps_skybox.cpp, the second argument to glBufferDelete() should be &SkyboxVBO instead of &SkyboxVAO 2021-11-09 17:26:20 +08:00
Nipun Ramani
89f3a18dd0 Corrected ambient lighting calculation 2021-10-17 18:30:59 +05:30
arby
c7102b1d9b Simplified CSM code, removed some comments. 2021-10-07 23:28:51 +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
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
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
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
0e424d3710 Add first version weighted blended OIT source code for OIT guest article. 2021-03-21 13:33:22 +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
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
Nicholas Blaskey
03c814d403 Changed some incorrect comments regarding where the metallic/roughness values come from 2020-10-11 17:25:54 -04:00
Nicholas Blaskey
649f40b01e Renamed sample -> samplePos because sample is a keyword in future glsl versions 2020-10-07 18:13:51 -04:00
Nicholas Blaskey
3ee14a3c2d Removed a duplicate line of setting a uniform 2020-10-05 15:44:30 -04: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