Commit Graph

47 Commits

Author SHA1 Message Date
37b46bc584 Implement Multi-Sample Anti Aliasin (MSAA) 2024-12-30 21:00:10 +00:00
e9a9b8a2cf Use instanced arrays to draw the lights 2024-12-30 19:07:53 +00:00
ce561fc44d Only compile normals and light shaders when needed 2024-12-30 17:35:49 +00:00
acefc1d254 Add ability to draw normals 2024-12-30 17:31:54 +00:00
f65410b7ad Reformat 2024-12-28 22:41:22 +00:00
0e43f07d80 Refactor setting shader uniform block binding point to method 2024-12-28 22:39:23 +00:00
e8f4f4ae12 Move common shader data to uniform buffer 2024-12-28 22:28:20 +00:00
3aed2a9614 Update shaders to use interface blocks 2024-12-28 20:00:05 +00:00
21b8cc56f3 Add reflective and refractive models 2024-12-28 17:15:07 +00:00
e6d5aac3d4 Compile in debug mode 2024-12-28 16:17:11 +00:00
e29b519977 Rebase 2024-12-28 16:15:22 +00:00
13bedc164c Implement skybox 2024-12-28 00:14:25 +00:00
68cc990650 Implement double frame buffering 2024-12-27 22:22:32 +00:00
9de54d016d Enable back face culling 2024-12-27 20:36:18 +00:00
8447717875 Remove backpack model and replace it with Suzanne 2024-12-27 20:01:57 +00:00
ebcfe3eca9 Add assimp as submodule 2024-12-27 20:01:39 +00:00
19e722459d Fix bug with loading material textures 2024-12-27 16:37:19 +00:00
0a4fb8e76f Implement model loading with assimp 2024-12-26 00:59:00 +00:00
806c260893 Fix linking issues 2024-12-26 00:16:45 +00:00
bfbdbf75f3 Create mesh abstraction 2024-12-25 21:22:48 +00:00
c4a607f660 Add assimp 2024-12-25 21:22:34 +00:00
c65a3ba314 Create a scene with multiple lights 2024-12-23 23:41:23 +00:00
b7e5eea448 Play with lights 2024-12-22 01:36:08 +00:00
e720355d04 Ignore python scripts 2024-12-08 00:05:36 +00:00
fbda4821ee Add specular map and abstract loading textures 2024-12-08 00:04:49 +00:00
cc1f6afb26 Add diffuse map 2024-12-07 23:24:40 +00:00
621204abe5 Darken background 2024-12-03 23:18:19 +00:00
1193e128e8 Reformat 2024-12-03 21:39:34 +00:00
d0070045b1 Reformat 2024-12-03 21:30:49 +00:00
6bcd4802aa Define material and light properties 2024-12-03 21:29:50 +00:00
9cbfa55c89 Move light around the scene 2024-12-03 20:08:40 +00:00
d8ab418180 Reformat 2024-12-02 22:07:17 +00:00
babe58f0a5 Start the lighting chapters 2024-12-01 22:30:42 +00:00
e9baa0ebe3 Add fly camera 2024-12-01 21:01:39 +00:00
6c751ba545 Rotate camera around scene 2024-12-01 18:28:05 +00:00
efed5d117f Fix includes 2024-12-01 15:12:01 +00:00
7520095761 Cleanup 2024-12-01 02:45:54 +00:00
318c000391 Complete transformation and coordinate system chapters 2024-12-01 01:09:47 +00:00
efa4b7a6a8 Add basic transformation matrix 2024-11-30 23:05:14 +00:00
921324585f Update code to use image textures 2024-11-27 00:21:33 +00:00
ead49cfbea Add image textures 2024-11-27 00:21:16 +00:00
b26e56bf4c Add stb_image 2024-11-27 00:20:58 +00:00
1c4587cd35 Add basic Shader class 2024-11-03 15:09:22 +00:00
579d8c3b1a Draw first triangle 2024-09-30 00:12:06 +01:00
1a60a9fc93 Add main shaders 2024-09-30 00:11:59 +01:00
aeba912912 Add glad and glm 2024-09-30 00:11:47 +01:00
08dfd5fe3d Set up repo 2024-09-30 00:11:27 +01:00