Commit Graph

136 Commits

Author SHA1 Message Date
justin 33a6e471ae Rmove overlay framebuffer, directly draw overlay instead 2023-04-11 16:55:00 +01:00
justin d79216555b Try to add compute shaders 2023-04-11 14:55:57 +01:00
justin 5b5ed519dd Start to create debug datatypes 2023-03-29 11:35:39 +01:00
justin acc55f8d16 Correct loading of tile buffer when loading game 2023-03-25 22:31:28 +00:00
justin ea0c942887 Refactor window size, update selection cursor on new screen 2023-03-25 09:27:27 +00:00
justin 20c05be23f Fix resize crash 2023-03-24 14:21:12 +00:00
justin 4d09927d42 Refactor framebuffer update 2023-03-24 13:14:49 +00:00
justin 1aaafcdc5a Cleanup render preload somewhat 2023-03-24 01:10:53 +00:00
justin 9a66a09f96 Work on lightmaps, add file 2023-03-23 23:42:09 +00:00
justin 1abfaa3cd0 Work on textures and lighting 2023-03-23 21:17:24 +00:00
justin b352d17f72 Fix character array binding 2023-03-23 14:59:20 +00:00
justin 05d1d3d1eb Bind some fixed texture arrays only once 2023-03-23 14:46:51 +00:00
justin 3350a8dc30 Use texture array for character rendering, condense rendering 2023-03-23 14:08:07 +00:00
justin 68b43f29ff Remove bezier shader 2023-03-23 00:38:14 +00:00
justin db53a1ffb2 Remove tweakz shader 2023-03-23 00:27:09 +00:00
justin 5769477ad4 Refactor shader types 2023-03-22 14:08:07 +00:00
justin d5fbc06332 Prevent cloud "pop" when an overlapping cloud fades out to nothing 2023-03-21 14:46:41 +00:00
justin e56ca3dd8d Commit before simplifying some shader types 2023-03-21 13:35:13 +00:00
justin 7caf7ba987 Work on rendering 2023-03-21 13:26:18 +00:00
justin ba240723f3 Use immutable storage for fullscreen vbo 2023-03-21 12:47:02 +00:00
justin 7d0bb7f229 Tweak clouds 2023-03-20 18:24:07 +00:00
justin 7ba374c1fd Commit before attempting to change cloud shading 2023-03-20 15:09:13 +00:00
justin f4038fde46 Refactor shader code 2023-03-20 11:18:53 +00:00
justin 32ecf46343 Cleanup: remove uniforms from shader datatype 2023-03-20 01:19:10 +00:00
justin 33f31aa385 Improve normal maps on ground and walls 2023-03-19 23:52:19 +00:00
justin 70c15fea5d Play with floor textures 2023-03-18 22:31:24 +00:00
justin 6461535579 Tweak floor normal map shading 2023-03-18 14:41:07 +00:00
justin c6120f2fc9 Fix normal map transformations for floor 2023-03-18 12:17:42 +00:00
justin 77c88f68a7 Create post world load function 2023-03-18 09:37:09 +00:00
justin d8fb7a1f99 Move towards uploading certain vbos less than once per frame (floor) 2023-03-17 17:47:12 +00:00
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