Commit Graph

  • 1be7d8ab3e update list of packages required to build on debian and ubuntu in Readme file N. Pattakos 2022-01-08 00:09:52 +01:00
  • da279c2fd9 fix warning LNK4099 N. Pattakos 2022-01-07 23:41:05 +01:00
  • 72f3e37150 fix narrowing conversions (eg double to float, size_t to GLsizei) N. Pattakos 2022-01-07 23:13:19 +01:00
  • 47a6664845 fix warning: getenv not secure N. Pattakos 2022-01-07 23:10:47 +01:00
  • 2ad7b99766 fix warnings: "cl : Command line warning D9002 : ignoring unknown option" N. Pattakos 2022-01-07 23:10:29 +01:00
  • 76b3e85352 fix unused exception parameter: print it in exception message N. Pattakos 2022-01-07 23:09:38 +01:00
  • b49ea10348 Fix correct shader names skeletal animation. Joey de Vries 2021-11-23 14:01:50 +01:00
  • a6a16e3565 Merge pull request #255 from SnowyLake/master Joey de Vries 2021-11-09 11:05:52 +01:00
  • 31c2cf3a9a bugfix: In cubemaps_skybox.cpp, the second argument to glBufferDelete() should be &SkyboxVBO instead of &SkyboxVAO SnowyLake 2021-11-09 17:26:20 +08:00
  • 2c8bf91c50 Merge pull request #254 from jiannanya/fix_mesh.h_comments Joey de Vries 2021-10-29 10:22:48 +02:00
  • 23cd2123f0 fix comments in mesh.h Jiannanya 2021-10-29 10:02:58 +08:00
  • 279e6be7fa Merge pull request #251 from BhayanakMoth/fix-ambient Joey de Vries 2021-10-18 10:24:26 +02:00
  • 89f3a18dd0 Corrected ambient lighting calculation Nipun Ramani 2021-10-17 18:30:59 +05:30
  • a11954e474 Merge pull request #249 from arbmarton/csm_update Joey de Vries 2021-10-08 09:54:57 +02:00
  • c7102b1d9b Simplified CSM code, removed some comments. arby 2021-10-07 23:28:51 +02:00
  • 6f03f5a959 Another source code update on skeletal animation article. Joey de Vries 2021-09-10 17:09:29 +02:00
  • a051a65d80 Updated source code files of skeletal animation guest article. Joey de Vries 2021-09-08 20:43:58 +02:00
  • 0ce49088e5 Add source code for the cascaded shadow mapping guest article. Joey de Vries 2021-09-08 19:06:07 +02:00
  • 54dd372518 Add source files for scene (graph + frustum culling) guest article. Joey de Vries 2021-09-02 15:27:27 +02:00
  • 0d538f002d Use numerator instead of nominator (re-applied previous commit). Joey de Vries 2021-09-01 12:43:10 +02:00
  • 2ef9c55f16 Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL Joey de Vries 2021-09-01 12:42:27 +02:00
  • 946cbc9118 Fix PBR source code inconsistencies (thanks Andrei!). Also fix winding order sphere and update CMake min. version. Joey de Vries 2021-09-01 12:40:43 +02:00
  • bad2db3fe5 Merge pull request #247 from JelleVos1/patch-1 Joey de Vries 2021-09-01 11:18:14 +02:00
  • c85067d4fe Update textures.cpp Jelle Vos 2021-08-28 19:04:33 +02:00
  • 48010de993 Merge pull request #245 from cyaneko/patch-1 Joey de Vries 2021-08-20 15:06:35 +02:00
  • b7a196ba4a Fix a minor bug in rear view mirror cyaneko 2021-08-19 21:10:57 +02:00
  • e48244d8b6 Merge pull request #234 from gonnavis/master Joey de Vries 2021-05-27 15:03:43 +02:00
  • bbf73afc30 Merge pull request #233 from lasagnaphil/master Joey de Vries 2021-05-27 15:02:24 +02:00
  • c976eee7ea Fix typo: nominator to numerator. gonnavis 2021-05-06 17:26:13 +08:00
  • 4dc5862c12 Fix bug: glDisable(GL_DEPTH) -> glDisable(GL_DEPTH_TEST) Phillip Chang 2021-05-05 23:46:21 +09:00
  • 85ee9d136f Use normalized cross product results for irradiance map generation in PBR tutorials. Joey de Vries 2021-04-07 10:00:07 +02:00
  • bc41d2c019 Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL Joey de Vries 2021-03-21 13:33:26 +01:00
  • 0e424d3710 Add first version weighted blended OIT source code for OIT guest article. Joey de Vries 2021-03-21 13:33:22 +01:00
  • 8535617490 Merge pull request #222 from kirinzer/patch-1 Joey de Vries 2021-02-19 09:34:37 +01:00
  • 2f21af137a Update README.md Haitao Liu 2021-02-19 11:45:06 +08:00
  • c272fd263e Add assimp glm helpers. Joey de Vries 2021-02-07 20:37:11 +01:00
  • 90f44b65bb Update include files to add appropriate model_animation include. Joey de Vries 2021-02-07 19:15:34 +01:00
  • e72d3e05d7 Include cpp skeletal animation tutorial file. Joey de Vries 2021-02-07 19:13:14 +01:00
  • 01a2962d01 Add model and include files for Ankit's Skeletal Animation tutorial. Joey de Vries 2021-02-07 19:11:46 +01:00
  • dfcf5ed149 Add levels to breakout 2D source code. Joey de Vries 2021-01-24 10:37:09 +01:00
  • 95ed602bd6 Also update hello triangle example. Joey de Vries 2021-01-20 16:28:47 +01:00
  • ac661d85f3 Use unsigned ints for shader ids. Joey de Vries 2021-01-20 16:22:44 +01:00
  • 73ff9934d0 Update PBR lighting chapter to support large DGGX values as 0-clamp was too high. Joey de Vries 2020-12-30 09:55:55 +01:00
  • 9a46ecf526 Prevent 1.0 - cosTheta from becoming negative due to small FP inaccuracies. This can cause NaNs otherwise. Joey de Vries 2020-12-13 13:53:56 +01:00
  • d444d98da7 Merge pull request #205 from NicholasBlaskey/master Joey de Vries 2020-10-12 10:09:27 +02:00
  • 03c814d403 Changed some incorrect comments regarding where the metallic/roughness values come from Nicholas Blaskey 2020-10-11 17:25:54 -04:00
  • b6da46b9f3 Create FUNDING.yml Joey de Vries 2020-10-08 14:26:19 +02:00
  • c0e37ada7b Merge pull request #202 from NicholasBlaskey/master Joey de Vries 2020-10-08 10:05:22 +02:00
  • 649f40b01e Renamed sample -> samplePos because sample is a keyword in future glsl versions Nicholas Blaskey 2020-10-07 18:13:51 -04:00
  • c0b8cb6d5b Merge pull request #201 from NicholasBlaskey/master Joey de Vries 2020-10-06 09:47:36 +02:00
  • 3ee14a3c2d Removed a duplicate line of setting a uniform Nicholas Blaskey 2020-10-05 15:44:30 -04:00
  • c4fae25e8a Merge pull request #200 from github-jane-doe/public/typos Joey de Vries 2020-10-04 18:59:26 +02:00
  • 2753224137 necessery -> necessary Jane Doe 2020-10-04 09:44:29 -07:00
  • b1e0d26d35 minifcation -> minification Jane Doe 2020-10-04 09:43:29 -07:00
  • b91f519d6f declerations -> declarations Jane Doe 2020-10-04 09:41:34 -07:00
  • cb871509fa seperated -> separated Jane Doe 2020-10-04 09:40:26 -07:00
  • 1ff4bf03c2 treshold -> threshold Jane Doe 2020-10-04 09:40:06 -07:00
  • e9467e18ed Mathemtics -> Mathematics Jane Doe 2020-10-04 09:35:17 -07:00
  • 0a8d6e582c Merge pull request #192 from daeunSong/master Joey de Vries 2020-08-19 10:32:20 +02:00
  • 5e511ef621 Generate smooth normals daeunSong 2020-08-19 16:20:52 +09:00
  • a25bb571c8 Merge pull request #191 from ButchDean/master Joey de Vries 2020-08-16 13:21:03 +02:00
  • 6ccb76e4c8 Fixed compile warning. Dean Butcher 2020-08-15 20:05:58 -03:00
  • 9ee05dda15 Merge pull request #190 from daeunSong/master Joey de Vries 2020-08-13 11:07:38 +02:00
  • 3c4a88761b Fix texture coordinate tangent and bitangent calculation daeunSong 2020-08-13 17:53:03 +09:00
  • e09f4d657a Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL Joey de Vries 2020-08-06 12:04:24 +02:00
  • 37b08a6546 Remove default menu state from Breakout's program as this breaks rendering/flow in chapters before Text Rendering (will be set from Game's constructor only). Joey de Vries 2020-08-06 12:03:54 +02:00
  • affd714e28 Merge pull request #185 from mahiuchun/font_name Joey de Vries 2020-07-12 16:36:14 +02:00
  • 0425961389 Make font loading more reliably. Hill Ma 2020-07-11 16:16:26 -07:00
  • 08be309c87 Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL Joey de Vries 2020-07-06 17:48:42 +02:00
  • cfd43bd404 Return exit error code on main when freetype (or its setup) fails. Joey de Vries 2020-07-06 17:48:35 +02:00
  • fe79499e15 Merge pull request #183 from mahiuchun/freetype Joey de Vries 2020-07-06 17:12:37 +02:00
  • 99c7ad2380 Link freetype for unix and not apple. Hill Ma 2020-07-03 18:43:23 -07:00
  • 1e590697b1 Get the 0.full_source folder back in game directory and comment out game compile, not ideal, but needs to be reverted for now to not break code/book links, will look into better fix. Joey de Vries 2020-07-01 09:52:04 +02:00
  • 1f9181a2ac Merge pull request #179 from rbarkmore/2d_game Joey de Vries 2020-06-25 09:56:29 +02:00
  • 7aa2a51ed2 moved 2d_game resource sub folders to the main resource folder. changed game.cpp to load resources using filesystem. rich_b 2020-06-24 16:36:44 -04:00
  • 581ebd8061 Changed to reflect moving and renaming the *.fs and *.vs shader files. rich_b 2020-06-24 15:43:22 -04:00
  • 5d919242f1 move shaders up a level, running cmake won't copy the shaders in a sub folder into the bin folders. Rename four files from *.frag to *.fs, to be consistent with the rest of the examples. Renamed text.* to text_2d.*, so they won't conflict or overwrite the text.* files under text_rendering example. rich_b 2020-06-24 15:41:26 -04:00
  • 98f58cccf8 Merge pull request #177 from rbarkmore/text_rendering_readme Joey de Vries 2020-06-24 18:45:18 +02:00
  • a694c848c7 Change CMakeLists.txt to add 2d_game project, and added irrKlang to LIBS. Added irrKlang.dll and ikpMP2.dll to dlls folder. Added irrKlang as a sub-folder under includes. Added irrKlang.lib to lib folder. At this point running cmake gave an error it couldn't find source files under 2d_game. Moved 2d_game source up one folder level, then cmake found the files. rich_b 2020-06-23 14:39:31 -04:00
  • 68ea5ee345 Added fonts to resources folder. Using a font with a 'free' license, refer to the license file for details. Updated text_rendering to load the font from the resouces folder. The user doesn't need to do anything except build the solution. rich_b 2020-06-23 13:55:09 -04:00
  • a206d50893 Merge pull request #176 from rbarkmore/text_rendering_readme Joey de Vries 2020-06-23 17:00:35 +02:00
  • 38749dff87 Add Freetype2 to includes and lib folders, update CMakeLists.txt to properly build the text_rendering example as just one more project. rich_b 2020-06-23 09:59:08 -04:00
  • 55e355322a Merge pull request #175 from rbarkmore/text_rendering_readme Joey de Vries 2020-06-23 15:11:30 +02:00
  • 4132da36f8 Updated readme for freetype, explaing how to add the freetype library to CMakeLists.txt. rich_b 2020-06-23 09:02:53 -04:00
  • 587d5827c3 Merge pull request #174 from rbarkmore/text_rendering_readme Joey de Vries 2020-06-22 09:29:45 +02:00
  • d4e3f80fad Add readme.md for the text_rendering example. rich_b 2020-06-21 17:23:23 -04:00
  • 4721a50bfb Merge pull request #173 from rbarkmore/fix_text_rend Joey de Vries 2020-06-20 12:02:43 +02:00
  • 0114162c95 Fix 'use' and 'ID' in two places each, delete second main() rich_b 2020-06-19 08:25:13 -04:00
  • 788234556d Update README.md Joey de Vries 2020-06-13 12:23:15 +02:00
  • de610b8fe9 Use correct shader include for text rendering example. Joey de Vries 2020-06-09 13:03:45 +02:00
  • 3615cfce79 Do Geometry Shader normal visualization in view-space to prevent perspective distortion. Joey de Vries 2020-06-04 17:41:32 +02:00
  • 3c5fd34424 Pass shader by reference on mesh/model classes. Joey de Vries 2020-06-04 17:25:52 +02:00
  • e5d75fb881 Fix texture rename on CMakeLIsts. Joey de Vries 2020-06-03 17:07:22 +02:00
  • b963e2a4c9 Fix several texture/shader exercises to use updated code viewer. Joey de Vries 2020-06-02 17:19:49 +02:00
  • bc75e9bae0 Few fixes normal mapping code. Joey de Vries 2020-05-26 17:39:54 +02:00
  • 42eeb4a01f Fix RGBA issue on Bloom demo as well. Joey de Vries 2020-05-26 17:19:39 +02:00
  • 9a67877172 Use RGBA over RGB to reduce byte-alignment framebuffer incomplete errors. Joey de Vries 2020-05-26 17:15:46 +02:00
  • 7f41f1fcee Restore stencil test func to defaults once done with stencil operations. Joey de Vries 2020-05-26 17:02:06 +02:00
  • 1385c8a239 Update Breakout game code. Joey de Vries 2020-05-26 17:01:45 +02:00
  • fb5d791d7f Add face culling exercise1 to repo. Joey de Vries 2020-05-22 18:01:40 +02:00