Commit Graph

218 Commits

Author SHA1 Message Date
minjaesong
9eb757b7b9 wip 2 2021-02-11 20:45:38 +09:00
minjaesong
8fdc11288c the-flattening wip 2021-02-10 17:48:01 +09:00
minjaesong
5685243443 light whitewash version 1 2020-12-01 17:50:47 +09:00
minjaesong
f77e65ac97 light whitewash impl 2020-12-01 16:49:46 +09:00
minjaesong
44c11cef76 multithread light: forget about it 2020-11-20 14:08:18 +09:00
minjaesong
ab780fd246 code cleanup 2020-11-11 11:04:59 +09:00
minjaesong
4db5bc1623 guess some quality can be sacrificed 2020-11-10 18:49:24 +09:00
minjaesong
8548e415d2 it works yay :) 2020-11-10 16:21:08 +09:00
minjaesong
3ad80d1687 y u no work :( 2020-11-10 11:54:52 +09:00
minjaesong
b908cee2fe round 4 wip but not working :( 2020-11-10 00:51:46 +09:00
minjaesong
65f536db3c one diag done, one more to go 2020-11-09 23:13:20 +09:00
minjaesong
fdee65ad0d using internal coord only; diagonal round todo 2020-10-25 23:47:39 +09:00
minjaesong
9280a1e4a1 new lighting kinda works 2020-10-25 19:10:48 +09:00
minjaesong
0c48b9dce8 using kotlin's newfangled 'x in xs.indices' instead of 'x in 0 until xs.size' 2020-10-21 17:42:58 +09:00
minjaesong
d89e0d30da new tonemapping lut using some random fibseq 2020-07-12 10:29:39 +09:00
minjaesong
0200fa8803 simplified the tiling shader a bit 2020-04-13 02:13:24 +09:00
minjaesong
07b9e76090 Reducing hierarchy by merging ActorWithBody with ActorWBMovable 2020-03-20 19:30:17 +09:00
minjaesong
8894be303a some code pruning 2020-03-07 03:39:26 +09:00
minjaesong
0b57a995a5 Tentatively fixed the issue #35
if it's truly been fixed, the culprit was the mixed use of lx/ly and worldx/worldy
2020-03-07 02:39:01 +09:00
minjaesong
4c77ccb548 Pre-calculation. Plagued with segfaults. Feel free to roll back. 2020-03-06 21:52:06 +09:00
minjaesong
e77c52a86f commenting out the assert code that is called ~50 000 times per frame 2020-03-06 01:54:18 +09:00
minjaesong
418353c652 stupid idea that didnt work 2020-03-04 10:32:05 +09:00
minjaesong
bac2190104 back to octagonal lightspreading and one more failed test 2020-02-28 05:39:46 +09:00
minjaesong
c4521b9fd9 more comments 2020-02-28 05:14:13 +09:00
minjaesong
e235b81041 middle click to open pie menu 2020-02-27 05:41:57 +09:00
minjaesong
89c99e19c0 TEST: 5-pass performs better than 2-split idea 2020-02-25 00:05:54 +09:00
minjaesong
ad903952cc lightsource randomiser hash will be same even when x < 0 2020-02-24 14:46:37 +09:00
minjaesong
73c827b77f randomised torch flicker 2020-02-24 01:00:11 +09:00
minjaesong
6c7fe9cf2b amending last commit 2020-02-23 15:57:33 +09:00
minjaesong
0176c95539 another attempt 2020-02-23 03:35:50 +09:00
minjaesong
a96df1041b fixing bad code regarding lightsource detection
...I'm stupid
2020-02-22 22:43:33 +09:00
minjaesong
fc99ee72c3 memoised dynamic luminosity 2020-02-22 15:47:34 +09:00
minjaesong
d97283e76c half-assed but working radiator with no directional quirks 2020-02-22 06:07:24 +09:00
minjaesong
13f44f3861 comment 2020-02-22 00:15:55 +09:00
minjaesong
4da45860b8 radiosity: nice try but works half-assed and is slower
better optimise the old method, there's lots of overlaps there
2020-02-21 21:28:55 +09:00
minjaesong
3210cad23d quick idea 2020-02-21 05:07:34 +09:00
minjaesong
947224c290 new lightmap: nice try but didn't work 2020-02-21 03:40:37 +09:00
minjaesong
01783387ad new skybox drawing wip 2019-12-10 15:24:05 +09:00
minjaesong
d3bf27e8db lightmaprenderer: removing minOf() 2019-12-05 10:34:52 +09:00
minjaesong
e4aa4d2b87 lightmaprenderer: exporting LUT to its own class 2019-12-05 10:27:54 +09:00
minjaesong
60bb495782 terrain glow tex drawing 2019-08-15 19:42:16 +09:00
minjaesong
86f48c2fe3 terrain glow tex composing 2019-08-15 19:03:16 +09:00
minjaesong
9b470bb3bb lightmap fix fox edge case when CameraX < 0 2019-08-13 14:47:23 +09:00
minjaesong
f39c4e9178 light calc area shrinks when zoomed in 2019-08-12 03:59:27 +09:00
minjaesong
e8b2b04c62 no stuttering zoom (inefficient) 2019-08-12 03:04:16 +09:00
minjaesong
419773550a screen zooming, temporarily toggle with Z key 2019-08-11 05:42:04 +09:00
minjaesong
864b6cd5a0 tree impl test; falling blocks won't destroy transparent blocks 2019-07-31 01:38:27 +09:00
minjaesong
155c38536f correct impl for RNG of joise lib 2019-07-27 14:45:19 +09:00
minjaesong
f95ea1ab0f fixture ui almost working 2019-07-08 19:41:35 +09:00
minjaesong
01e475814b blocks csv fixed wrong opacity value 2019-07-06 20:44:15 +09:00