Commit Graph

50 Commits

Author SHA1 Message Date
dc062f32a3 Move main to gl01 2024-08-02 18:47:14 +08:00
c954c502ba Change package name to edgaru089.ink/go/gl01 & Update dependencies 2024-08-02 18:38:33 +08:00
e4fc6f4d96 Added slabs 2022-10-12 08:24:00 +08:00
5f66b792c7 fix exposure settings on output 2022-03-06 12:36:21 +08:00
5d4acbfc43 rescaling of the timebars 2022-03-05 18:54:46 +08:00
f1ebbab5d3 remove old main.go 2022-03-01 11:03:54 +08:00
7d7778f53d further tweak water & ssao shaders 2022-02-26 14:05:55 +08:00
a71acc22a0 hide other windows when not paused 2022-02-26 13:55:07 +08:00
aa3ad851cf add a cross in the middle & adjust timebar height 2022-02-25 21:45:17 +08:00
aa8c3128db tweak world generation 2022-02-25 21:33:51 +08:00
08e08000a6 break/place only when not paused 2022-02-25 21:15:44 +08:00
1e74665abc more fixes to textured transparency 2022-02-25 21:10:38 +08:00
501037d84d fix transparency & add glass 2022-02-25 17:58:42 +08:00
32b06810e2 place blocks 2022-02-24 20:20:33 +08:00
9195dd7c3f move WorldRenderer to game package 2022-02-24 13:18:05 +08:00
1ec4f9d281 remove gl00 2022-02-24 12:48:50 +08:00
c2a69d7cd0 world view ray casting 2022-02-22 14:28:59 +08:00
3595c32ae5 segmented render time display 2022-02-22 14:28:35 +08:00
e2717aaaa9 water now has depth and looks much better 2022-02-21 15:11:13 +08:00
4204a15b1e let OpenGL handle sRGB conversion 2022-02-21 14:13:24 +08:00
5155008bf0 refactor renderer resizes 2022-02-21 14:09:38 +08:00
203b77c32f fix uninitialized shader variable 2022-02-21 14:01:09 +08:00
4a9afb4246 refactor debug info, measure render times 2022-02-21 12:24:05 +08:00
057e8907a9 igwrap: support DrawCmd::VtxOffset 2022-02-17 12:00:26 +08:00
ff838b8e85 rename shader variables to avoid keywords 2022-02-16 20:33:16 +08:00
565e0390f3 FlipY texture flag, display world texture atlas 2022-02-16 00:29:34 +08:00
326253a73b HDR output buffer (WIP) 2022-02-15 23:37:42 +08:00
a628fdb434 add background for F3 text, fix single-channel texture display 2022-02-10 21:13:55 +08:00
a17a43505c render (display) geometry buffers on F3 via ImGUI 2022-02-10 19:59:58 +08:00
06cd549eb7 refactor ImGUI code files 2022-02-10 19:58:51 +08:00
bb33972616 square the SSAO output 2022-02-10 19:57:39 +08:00
d376a0fd39 main: backport gl02 goodies 2022-02-05 19:43:28 +08:00
92b0ace7a2 render: SSAO 2022-02-05 19:25:44 +08:00
05a85ac27f util: Ptr() returns itself with uintptr 2022-02-05 19:25:12 +08:00
9122954e62 entity: truncate move delta to [0, 1] 2022-02-05 19:24:53 +08:00
0e4e17ced7 world: fix worldgen 2022-02-02 01:52:02 +08:00
37ee76e9fc entity: physics rewrite 2022-02-01 23:48:39 +08:00
25872b257d io: make ClearColor and FogColor Vec4f instead of 3 2022-01-29 22:52:51 +08:00
444697b205 fix semi-transparent (water) rendering 2022-01-29 22:29:27 +08:00
fea09c5012 semi-transparent water rendering (TODO) 2022-01-29 00:43:28 +08:00
904221ac14 worldgen water, fixes 2022-01-28 15:24:03 +08:00
7b6c16789c render: move render_world_helper, remove chunks drawn behind view 2022-01-27 01:09:45 +08:00
d8df67bc20 game: fullscreen on F11 2022-01-26 23:31:40 +08:00
13649fad18 backport imgui goodies from gl02 2022-01-24 22:40:53 +08:00
74283d7147 render: re-add texCoord vertex attribute 2022-01-24 22:40:34 +08:00
d8d7fe8233 render: deferred shading 2022-01-22 23:06:41 +08:00
dfe0ff8b63 render: fix Texture mipmap generation 2022-01-21 21:08:12 +08:00
73669001c3 render: manually correct gamma before fog calculations 2022-01-21 21:07:39 +08:00
f4f784a7d3 igwrap: fix DeltaTime less than 0 on Windows 2022-01-21 12:55:02 +08:00
b44d41ec66 Initial commit 2022-01-20 21:58:50 +08:00