Commit Graph

95 Commits (master)

Author SHA1 Message Date
Quentin Bazin 7d375ac843 [game.f.glsl] Now using normal for face shading.
Also inverted south/north and west/east shading.
2021-06-17 18:21:06 +02:00
Quentin Bazin 90e2d38c33 [Vertex] Default AO value is now 4. 2021-06-17 18:10:45 +02:00
Quentin Bazin 7d3d231d3f [game.v.glsl] Tweaked AO values. 2021-06-06 23:05:40 +02:00
Quentin Bazin f42c71ae8d [ChunkBuilder] Don't apply AO on light sources. 2020-07-17 19:58:45 +02:00
Quentin Bazin af9f7ef10f [Config] Now using 'Fast' AO setting by default. 2020-07-17 19:58:45 +02:00
Quentin Bazin 4e45f1583b [GameTime] Added to centralize time, sunlight intensity and sky color. 2020-07-17 19:58:45 +02:00
Quentin Bazin f2db916357 [Skybox] Stars added. 2020-07-17 19:58:45 +02:00
Quentin Bazin 270dddb5f7 [Skybox] Moon texture added. 2020-07-17 19:58:45 +02:00
Quentin Bazin 5acb1bf437 [Skybox] Sun texture added. 2020-07-17 19:58:45 +02:00
Quentin Bazin b47fbc9d18 [Skybox] Now uses its own shader. 2020-07-17 19:58:45 +02:00
Quentin Bazin e73f436a46 Basic day/night cycle added. 2020-07-17 19:58:45 +02:00
Quentin Bazin 5bb5b44ff4 [main] DPI awareness code added back to the project. 2020-07-08 00:12:22 +02:00
Quentin Bazin 1a4227a580 [gamekit] Updated. Menu background fixed. [Config] Now creating 'config' folder if it doesn't exist yet. 2020-07-08 00:12:22 +02:00
Quentin Bazin ff1d34cd8d [GameState] Now using render distance as projection far plane. 2020-07-02 02:33:11 +02:00
Quentin Bazin db6f775ae7 [ChunkBuilder] Now disabling fallback AO when smooth lighting is enabled. 2020-06-30 19:15:42 +02:00
Quentin Bazin e919cbb8f7 [Lua API] Added properties 'fog_color' and 'fog_depth'. 2020-06-30 01:45:30 +02:00
Quentin Bazin bd7fa53f3f [GameState] Framebuffer-related code has been moved. [Framebuffer] Now able to store depth data into a texture. [screen.f.glsl] Added a pseudo-underwater event. 2020-06-30 00:29:23 +02:00
Quentin Bazin f0df5815c0 [GameState] Framebuffer is now resized when window size changes. [Framebuffer] Small fixes. 2020-06-29 23:39:02 +02:00
Quentin Bazin 608b53730e [Framebuffer] Added. [GameState] Now using a framebuffer to render the scene and apply effects. 2020-06-29 23:18:24 +02:00
Quentin Bazin a434727216 [WorldSelectionState] Background and title added (see #128) 2020-06-26 07:13:48 +02:00
Quentin Bazin 147394ed2b [KeyboardHandler] Added. Keys are now saved to config/keys.lua on client exit. 2020-05-15 00:27:12 +02:00
Quentin Bazin dfcbb3c80d [keys.xml] Updated for SFML. 2020-05-15 00:27:12 +02:00
Quentin Bazin 5815549f7d [Scene] Added. [external/entt] Added. 2020-04-29 21:17:28 +02:00
Quentin Bazin b3ae21009e [LuaGUIState] Textures are now loaded from a path given by mods. 2020-03-10 13:15:23 +01:00
Quentin Bazin ff516ec30b Basic sky API added (see #76) 2020-03-09 19:36:46 +01:00
Quentin Bazin f04993be26 [ScrollBarWidget] Added and used in creative window. 2020-03-09 10:38:30 +01:00
Quentin Bazin d883467239 [BlockCursor] Replaced blending by old blending. 2020-03-06 00:45:39 +01:00
Quentin Bazin 2fd6a7450c [BlockCursor] Small visual tweaks. 2020-03-05 23:55:59 +01:00
Quentin Bazin 64ee268129 [basic.f.glsl] Small tweaks on InventoryCube shading. 2020-03-05 18:59:26 +01:00
Quentin Bazin e0bd3c1a04 [ClientApplication] Removed unnecessary font loading. 2020-03-04 15:04:30 +01:00
Quentin Bazin 10d5154e77 [Config] More options added to hide interface. [TitleScreenState] Background added. 2020-03-04 12:54:20 +01:00
Quentin Bazin 896460c785 [Font] Class added in order to remove Text::updateCharWidth. 2020-03-03 15:40:46 +01:00
Quentin Bazin 4d9a2fbe7e [LuaGUIState] Now handles Shift+Left click to move items quickly. 2020-03-01 00:15:49 +01:00
Quentin Bazin 45c797cd5f Creative window added on key 'H'. 2020-02-29 18:07:01 +01:00
Pedro Gimeno 3ad0b19de4 Add UVs and a texture for Boxy
Thanks to LyoliGamer for providing this texture (CC0)
http://minetest.fensta.bplaced.net/#name=Lyoligamer
2020-02-29 03:04:35 +01:00
Pedro Gimeno 040c8d5d07 Fix waving vertex shader
It's everything commented out so it technically works, but this way it's ready for the time when it's enabled again.
2020-02-24 10:38:08 +01:00
Quentin Bazin 3cffbc9547 [ChatState] Can now be opened with a slash by using numpad slash. 2020-02-22 03:44:12 +09:00
Quentin Bazin cac41afdfa [GameState] Now uses GameKey::Chat instead of hardcoded keycode. 2020-02-22 02:16:19 +09:00
Pedro Gimeno 4b725b8db3 Fix some issues with the comparison of varying variables 2020-02-21 12:22:28 +01:00
Pedro Gimeno 832b8d1cb0 Add comment about needing to be in sync 2020-02-21 12:04:08 +01:00
Pedro Gimeno fc08f84151 Remove special lighting of flowers
It was affecting grass too.
2020-02-21 12:01:47 +01:00
Pedro Gimeno a89f0dbb1d Map face numbers in the shader as well 2020-02-21 11:42:12 +01:00
Quentin Bazin cb356b4a3b Shaders don't use blockID anymore. Fixes #48. 2020-02-19 19:30:07 +09:00
Quentin Bazin 6d8d8ef623 Unused textures removed. 2020-01-31 16:44:27 +09:00
Quentin Bazin abe0385384 [ChunkBuilder] Small fix. [TODO] Updated. 2020-01-31 16:44:27 +09:00
Quentin Bazin 793346f75f [TextureAtlas] Textures are now stored in mod folder. 2020-01-31 16:44:27 +09:00
Quentin Bazin a3b85e1d5c Grass, logs, workbench and furnace: OK. 2020-01-31 16:44:27 +09:00
Quentin Bazin 8d6074e1b6 Fixed texture files. 2020-01-31 16:44:27 +09:00
Quentin Bazin 5b2a1758ef Now using filenames instead of IDs when loading/retrieving textures. 2020-01-31 16:44:27 +09:00
Quentin Bazin 2ea669156d [fog.f.glsl] Fixed water transparency. 2020-01-24 13:14:20 +09:00