Commit Graph

33 Commits

Author SHA1 Message Date
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