Commit Graph

123 Commits

Author SHA1 Message Date
minjaesong
d13c74dc0c histogram to display UV values 2019-02-04 05:23:07 +09:00
minjaesong
1e4e4d2b94 blocksdrawer use offsetted time_t 2019-02-02 01:08:14 +09:00
minjaesong
f712c143d0 #21, also making seasonal grasses easier on PSD 2019-02-01 18:47:02 +09:00
minjaesong
2610f44697 wall block item to use its own texture (for real) 2019-02-01 17:28:08 +09:00
minjaesong
e2dec79ca5 terrain texture change by all seasons 2019-02-01 15:59:54 +09:00
minjaesong
7f7c31d27f nice try, but it crashes the gpu AND I get <1 fps :( 2019-01-29 17:35:56 +09:00
minjaesong
882cd86dd4 wrong colour fixed -- Gdx.Color.toIntBits() returns ABGR, GLSL expects RGBA 2019-01-29 03:04:01 +09:00
minjaesong
b842780761 gpu rendered light wip 2019-01-29 02:21:22 +09:00
minjaesong
1ffa71215a amount of fluid affects the light absorption 2019-01-27 16:58:29 +09:00
minjaesong
50d883260c so not making new objs frequently does make it bit faster... 2019-01-27 02:09:20 +09:00
minjaesong
02f9a5e127 light calc takes fluid into account 2019-01-27 00:30:56 +09:00
minjaesong
e5fec2c22c implementing the iconic 'lag behind' camera the right way 2019-01-22 05:46:26 +09:00
minjaesong
42812b8186 parallel light always does this random noise 2019-01-18 04:24:14 +09:00
minjaesong
ff0dade5c8 f 2019-01-18 03:14:37 +09:00
minjaesong
a379c7dea8 light: seems like the problem is the ram access time 2019-01-17 21:08:50 +09:00
minjaesong
b594c3b053 still working on light, no improvements perf-wise 2019-01-17 18:28:43 +09:00
minjaesong
0397c47aad light: lantern lookup should be faster 2019-01-17 16:06:00 +09:00
minjaesong
b8bf1d2412 all my confusions were derived from not wiping old map; fixed things accordingly 2019-01-17 15:12:52 +09:00
minjaesong
fdd89b1b76 light: slightly improved performance with careful skipping
(hopefully...)
2019-01-17 06:52:04 +09:00
minjaesong
e40bdfe066 added some features and comments for coding convenience 2019-01-17 05:32:52 +09:00
minjaesong
e844d12aa5 lol 2019-01-16 01:23:23 +09:00
minjaesong
a64da6454b See Github issue #15 2019-01-15 05:50:36 +09:00
minjaesong
7cd2b55b97 adding test code to export fboRGB 2019-01-15 03:02:40 +09:00
minjaesong
8c4793bea5 a setup to mitigate directional artefacts in light 2019-01-15 01:18:54 +09:00
minjaesong
eb404b7723 trying to work on issue #15 and I'm stumped 2019-01-13 23:51:04 +09:00
minjaesong
865ac11051 grey box issue fixed (github issue #13) 2019-01-13 04:06:53 +09:00
minjaesong
2f335e5c5f lightmap edge-case fixed
when camera.x is in -15..-1, all thing shifts to left
2019-01-11 04:44:52 +09:00
Minjae Song
a0b773aef2 WIP platforms, at least "should I collide with this?" is one single function 2018-12-30 19:50:22 +09:00
Minjae Song
3765678735 removed FLUID prop from the blocks 2018-12-29 21:04:27 +09:00
Minjae Song
59531ea1ba WIP removing fluid marker block
see "work_files/todo_platforms.png"
2018-12-29 17:04:46 +09:00
Minjae Song
1163f51c6b reduced boot time by not using proper wall tex; darker wall draw 2018-12-25 16:28:38 +09:00
Minjae Song
288fa46418 still cleaning up
Making wall item textures takes SO long
2018-12-25 15:39:01 +09:00
Minjae Song
934b252314 when it's not dev build, title bar shows less info
they take some processing time
2018-12-25 01:58:18 +09:00
Minjae Song
46284be77d moved things a lot just so that splash screen shows up WHILE things load 2018-12-25 01:39:22 +09:00
Minjae Song
ba3e323572 simplified fluid render 2018-12-23 02:13:41 +09:00
Minjae Song
e5ea32ba56 rendering scheme of the world changed, fluids draw as intended
But my idea wasn't very stellar, *sigh*
2018-12-22 02:08:08 +09:00
Minjae Song
92d3c578a9 prep for fluid exclusive render 2018-12-19 22:23:50 +09:00
Minjae Song
597e1acee4 fluidmap won't have errenous behaviour at the world edge; tga alpha fix 2018-12-19 01:53:09 +09:00
Minjae Song
62319ba4d2 fluid multiplies themselves ?! 2018-12-17 22:39:19 +09:00
Minjae Song
8db2405232 test: tiles tex blend according to seasons 2018-12-17 04:30:08 +09:00
Minjae Song
a7d12b2b54 rename TARGET_FPS to PHYS_TIME_FRAME; shader to use multiple atlas tex; and things 2018-12-16 15:30:25 +09:00
Minjae Song
cd752bc763 at least this fluid sim passes collection assertion codes 2018-12-16 02:55:12 +09:00
Minjae Song
8e6fcf0b8a bugs on fluid sim, Type is NULL but fill isn't 0/new temporary fluid draw 2018-12-16 02:10:04 +09:00
Minjae Song
95245c8945 replacing water/lava tiles with one fluid marker
actual fluid not implemented
2018-12-12 20:32:13 +09:00
Minjae Song
5382c8cece fluid layer data and fluid sim specifications
See added note FLUID_SIMULATION
2018-12-12 18:39:14 +09:00
Minjae Song
bfea5c9936 support for screen-overlay actors; buildingmaker has light now 2018-12-12 02:52:33 +09:00
Minjae Song
c7d7ae03c0 nonprivate lateinits are bitch 2018-12-11 16:39:27 +09:00
minjaesong
20dfc95d0d replaced a hack that starts random game on title screen 2018-12-08 18:30:10 +09:00
minjaesong
dffb3f95a2 Memory leak alleviated FUCK YEAH? 2018-12-08 04:26:01 +09:00
minjaesong
7570c9674b Update LightmapRendererNew.kt 2018-12-07 06:15:41 +09:00