Commit Graph

106 Commits

Author SHA1 Message Date
justin 850fdf1783 Add normal maps to the floor 2023-03-17 16:51:02 +00:00
justin 539cbe8b18 Fix wall normals 2023-03-16 23:31:17 +00:00
justin 100fdc102d DSA glClear 2023-03-16 22:43:48 +00:00
justin 24c1264f96 Implement shading for more types of shapes (cylinders, boxes) 2023-03-16 15:34:32 +00:00
justin 989140d46e Add shading for shapes and the floor 2023-03-15 18:24:09 +00:00
justin 21f87b96d8 Try to centralize the number of components per vertex in shapes 2023-03-14 23:28:21 +00:00
justin cfddd1515f Commit before adding normals to shapes 2023-03-14 22:34:29 +00:00
justin db0d24d044 Cleanup shader code 2023-03-14 22:05:17 +00:00
justin ed0da4bf1d Refactor shaders, vbos and vaos 2023-03-14 20:24:08 +00:00
justin 378af69ca5 Continue render refactor 2023-03-14 14:11:14 +00:00
justin 35f401d8c8 Start to separate VAO and VBO data types 2023-03-14 12:38:43 +00:00
justin 6af041bb8c Continue work on shadow rendering 2023-03-14 11:20:38 +00:00
justin 9947979b52 Try to improve instancing shadows 2023-03-12 14:06:11 +00:00
justin b88a8d5776 Add alternate shadow volume rendering pathway (layered geo) 2023-03-12 09:29:36 +00:00
justin 7ee3f6581d Work on geometry shader based shadows 2023-03-11 22:59:19 +00:00
justin 5724a0543e Remove individual uniforms from instancing light maps 2023-03-10 14:11:25 +00:00
justin c8b256c939 Move towards geometry instancing for shadows 2023-03-10 13:55:41 +00:00
justin cda7116930 Cleanup 2023-03-10 09:45:40 +00:00
justin dc3faeed63 Cleanup 2023-03-10 09:39:40 +00:00
justin b1750ad028 Map an "isometric" matrix to a static buffer 2023-03-09 23:29:58 +00:00
justin 9989c65d75 To openglraw 2023-03-09 21:28:22 +00:00
justin 1d6fdd7eb1 Move texture objects to openglraw 2023-03-09 17:54:11 +00:00
justin 44b56ed163 Move FBOs to opengl raw 2023-03-09 15:42:17 +00:00
justin 76a8b05433 Use DSA for renderbuffers 2023-03-09 14:58:38 +00:00
justin 0b698e5f5d Make the matrix UBO use raw opengl 2023-03-09 14:28:23 +00:00
justin 3e2b51b5e9 Attach EBOs to VAOs using DSA 2023-03-09 13:55:52 +00:00
justin f14d9bef60 Start to move vbo objects to use DSA 2023-03-09 13:17:43 +00:00
justin 9f37ed9944 Cleanup 2023-03-09 13:06:55 +00:00
justin 01268e4c8a Refactor EBO to use DSA 2023-03-09 12:49:34 +00:00
justin 7b797dfdb4 Translate VAOs to DSA 2023-03-09 10:10:57 +00:00
justin 48966dde1a Cleanup 2023-03-08 18:31:32 +00:00
justin 3e3fd049a9 Move shader compilation over to raw opengl, errors display incorrect 2023-03-07 15:40:29 +00:00
justin f2e406b05c Start migration to openGLraw, add target parameter to texture params 2023-03-03 11:20:31 +00:00
justin ed8efd21d9 Commit before moving buffer swapping command 2023-03-02 11:49:40 +00:00
justin 6b0f78d4eb Add num_shadow_casters graphics parameter, allow cycle down enum options 2023-02-26 23:38:58 +00:00
justin bf1bd5bb0b Implement (not fully working) alternate shadow volumes 2023-02-24 19:51:41 +00:00
justin ed9a46a18d Allow to change menu options with rclick, move towards shader experiment 2023-02-24 15:03:06 +00:00
justin 55341f7caf Commit before messing around with shaders 2022-06-16 14:02:21 +01:00
justin 9af636aa83 Fix bug in line zoning by using less ambitious algorithm 2022-02-13 09:24:27 +00:00
justin 502be6f64f Cleanup. Start tweaking flares, glares and flashes 2021-10-29 21:47:03 +01:00
justin 32367b5b2d Add trajectory to grenades, various refactoring 2021-09-25 18:39:53 +01:00
justin fa7d8e1b50 Add toggle for visual sounds 2021-09-22 11:37:07 +01:00
justin a4fbe6126c Refactor shader loading 2021-09-22 11:22:23 +01:00
justin 8854b195cc Buggy (but fastish) merge of shadows into shapes 2021-09-21 10:09:40 +01:00
justin 7f1a365cac Draw shape shadows using index buffer 2021-09-21 00:43:45 +01:00
justin 5cbcbec101 Working element buffer object 2021-09-20 12:36:35 +01:00
justin c605ac74ff Performance improvements, combine cap and geometry buffer 2021-09-18 19:48:35 +01:00
justin 294e01479a Define shape datatype 2021-09-14 01:17:07 +01:00
justin 9d2f42dbc9 Cleanup, start to add creature silhouettes 2021-09-02 11:06:04 +01:00
justin d0aeeed5c3 Further cleanup 2021-09-01 19:35:25 +01:00