Commit Graph

156 Commits

Author SHA1 Message Date
justin 24c1264f96 Implement shading for more types of shapes (cylinders, boxes) 2023-03-16 15:34:32 +00:00
justin 249262b2b6 Refactor shapes, prepare for different normals at single vertex pos 2023-03-15 21:43:00 +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 7ee3f6581d Work on geometry shader based shadows 2023-03-11 22:59:19 +00:00
justin c8b256c939 Move towards geometry instancing for shadows 2023-03-10 13:55:41 +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 d72033c562 Remove dependency on OpenGL 2023-03-09 22:20:24 +00:00
justin aa2746e800 To openglraw 2023-03-09 22:07:39 +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 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 6a68873653 Cleanup 2023-03-09 14:13:05 +00:00
justin eab27776cf Set up vertex attributes using DSA 2023-03-09 14:12:07 +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 2fc08a4d96 Cleanup 2023-03-09 10:20:18 +00:00
justin 7b797dfdb4 Translate VAOs to DSA 2023-03-09 10:10:57 +00:00
justin 18fa216dff Cleanup 2023-03-09 09:55:57 +00:00
justin b8fbc6055d Continue move to raw open gl 2023-03-09 09:52:55 +00:00
justin 48966dde1a Cleanup 2023-03-08 18:31:32 +00:00
justin 2279af5510 DSA gl texture naming and storage 2023-03-08 13:35:25 +00:00
justin a32ea93e06 Refactor 2023-03-07 22:42:41 +00:00
justin b68703c275 Fix error display when compiling/linking shaders 2023-03-07 15:46:35 +00:00
justin 3e3fd049a9 Move shader compilation over to raw opengl, errors display incorrect 2023-03-07 15:40:29 +00:00
justin e6ec46edce Start translating shader compilation and linking to openglraw 2023-03-07 11:43:35 +00:00
justin f2e406b05c Start migration to openGLraw, add target parameter to texture params 2023-03-03 11:20:31 +00:00
justin bf1bd5bb0b Implement (not fully working) alternate shadow volumes 2023-02-24 19:51:41 +00:00
justin c73e8af72a Commit before attempt to remove geometry shaders from shadow extrusion 2023-02-23 23:10:00 +00:00
justin 8c0ad639ad Correctly reduce left click item delay 2022-09-04 10:22:53 +01:00
justin 920bfdbc8e Attempt to improve perfomance 2022-08-25 09:52:12 +01:00
justin aeb22fc9d7 Hopefully fully excise streaming 2022-08-22 12:02:42 +01:00
justin b7a77cdbd9 Remove streaming 2022-08-22 11:50:41 +01:00
justin 75cd15c240 Data-ify creature drawing (partially) 2022-07-10 23:24:25 +01:00
justin 8202d12b6a Commit before attempting to remove ptDraw field 2022-07-10 10:49:49 +01:00
justin 2a70dcc9a6 Revert to foldMap-ing worldSPic 2022-07-10 09:59:19 +01:00
justin a5730014c8 Reset Shapes to be list (not stream) of ShapeObj 2022-07-10 09:42:24 +01:00
justin 21f814ede1 Revert pictures to using lists rather than streams of Verx 2022-07-10 09:30:00 +01:00
justin 22ac8feb37 Redo shape vertices as a list, should allow for mirroring 2022-07-04 23:17:53 +01:00
justin 914c452afb Increase number of drawable elements 2022-07-04 20:50:01 +01:00