Commit Graph

63 Commits

Author SHA1 Message Date
justin f3ea46d7d0 Working shadows on clouds 2021-09-01 11:18:53 +01:00
justin 82551328a1 Add dependencies, play around with clouds/transparency layer 2021-09-01 03:04:41 +01:00
justin db5c27a3ed Cleanup createLightmap 2021-09-01 01:13:10 +01:00
justin 1c587d4b9a Implement something like deferred lighting 2021-09-01 00:37:07 +01:00
justin cf77163b3f Setup multiple target basic shaders 2021-08-31 20:05:15 +01:00
justin cd0a82e526 First attempt at using exclusively depth pass with cap on near plane 2021-08-31 10:32:27 +01:00
justin f797530cbc Use depth fail and front cap for geometry shadows (TODO back cap) 2021-08-30 21:47:01 +01:00
justin f87b53bbf9 Unify shadow stencil tests, inverts shadow when light source occluded 2021-08-30 11:13:23 +01:00
justin eba8ff121c Add "cap" shadow shader 2021-08-29 18:13:55 +01:00
justin d23f36ea95 Partial fix to near plane clipping shadows 2021-08-28 21:25:59 +01:00
justin 832232fef6 Fix remote camera bug 2021-08-27 12:45:52 +01:00
justin b396d6c857 Provisional working coloured lights 2021-08-21 12:34:49 +02:00
justin e35b95bf36 Commit before adding coloured light sources 2021-08-21 12:09:58 +02:00
justin 8e3bf3b19f Commit before implementing downscaled resolution 2021-08-19 19:50:44 +02:00
justin bc236671f2 Set depth buffer from your pov before casting shadows 2021-08-19 18:43:49 +02:00
justin 743e190ddc Tweak wall shadow geometry shader 2021-08-19 14:57:23 +02:00
justin b9f73d255f Various tweaks 2021-08-18 20:38:55 +02:00
justin 9bdb9a227f Various refactoring 2021-08-17 19:08:18 +02:00
justin 5829c66527 Add new files 2021-08-13 12:28:17 +02:00
justin 53555865f6 Start cleanup 2021-08-12 15:02:26 +02:00
justin 0138f7b940 Commit before attempting to make storage of shaders mutable 2021-08-12 06:11:08 +02:00
justin 4c9a3c8b3c Continue adding mutability 2021-08-12 05:49:25 +02:00
justin c84bafb267 Continue adding mutability 2021-08-12 05:10:06 +02:00
justin 27cf763805 Continue mutability changes 2021-08-12 01:43:25 +02:00
justin f1200c4501 Redo mutable changes 2021-08-12 01:14:58 +02:00
justin 724f9a86f8 Revert "Continue transfer to mutable vectors"
This reverts commit 1f2f5431c0.
2021-08-12 00:57:57 +02:00
justin 1f2f5431c0 Continue transfer to mutable vectors 2021-08-11 22:02:17 +02:00
justin 0c4c83abb5 Add more mutability 2021-08-11 20:34:34 +02:00
justin b77683bafd Work towards using mutable vectors for storing parameters 2021-08-11 19:28:50 +02:00
justin 4bbe5d0cf1 Move main to allow for new executables 2021-08-11 17:54:48 +02:00
justin 79eb031637 Stream vertex poking 2021-08-10 01:55:42 +02:00
justin 8cda9b4e1b Commit before unifying vertex type 2021-08-09 12:42:42 +02:00
justin 3fdae85953 Store number of vertices in an intmap 2021-08-09 00:54:19 +02:00
justin 2f8a9fb86a Inline fold sub-functions for speed 2021-08-03 20:22:39 +02:00
justin 12e7af0755 Use Fold for rendering 2021-08-02 02:14:09 +02:00
justin 54c912224b Rendering optimisations (mainly inlining) 2021-07-31 23:38:37 +02:00
justin d7649b951b Implement poking using Verx lists 2021-07-30 20:04:55 +02:00
justin bd8ef3f416 Mid strictifying 2021-07-29 23:42:27 +02:00
justin 192e2c9c57 Implement custom poking for vertices--speed regression? 2021-07-29 18:46:01 +02:00
justin ee553c6e49 Add picture shader container datatype 2021-07-28 20:14:54 +02:00
justin 3b53570c21 Continue tweaking rendering 2021-07-28 12:25:52 +02:00
justin ae84f44824 Reduce rendertype down to vertex information 2021-07-27 13:35:43 +02:00
justin 5dfebd221d Broken binding of central picture in one pass 2021-07-26 00:53:35 +02:00
justin 9407c7af2a Use glTexStorage when resizing framebuffers 2021-07-18 20:36:20 +02:00
justin ac66b4b9d6 Hlint pass 2021-07-12 12:44:43 +02:00
justin 75254cd3e4 Remove renderbuffer from ping-pong framebuffers 2021-07-11 17:56:43 +02:00
justin 26c6c3e426 Upload wall geometry once per frame (can improve for fixed geometry) 2021-07-11 17:32:23 +02:00
justin 37d3e0ce63 Share wall points in buffer, part 1 2021-07-11 15:17:40 +02:00
justin c63b293ea5 Implement multiple radial distortion rendering 2021-07-10 14:04:01 +02:00
justin 5301b6d0bd Make bloom trail last for at most one frame 2021-07-07 14:52:48 +02:00