Commit Graph

96 Commits

Author SHA1 Message Date
kayomn e72698ffcd Merge pull request 'Editor Terrain Brush' (#2) from editor-terrain-brush into main
Reviewed-on: #2
2023-01-19 01:51:24 +01:00
kayomn 748a22347a Amend code review changes 2023-01-19 00:49:44 +00:00
kayomn c7a0d6bce2 Tidy up code and file structure 2023-01-18 17:15:41 +00:00
kayomn 2c24ec861f More editor UI fixes 2023-01-17 19:53:09 +00:00
kayomn 129c4f16d8 Fix brush mask button group being ignored 2023-01-17 16:44:21 +00:00
kayomn 5db227a8ac Expose hardcoded brush mask to editor UI 2023-01-17 16:41:54 +00:00
kayomn bf73abed8d Fix editor crash at startup 2023-01-17 15:29:40 +00:00
kayomn ea5db595d4 Refactor and redesign editor UI 2023-01-17 15:22:15 +00:00
kayomn 73de050628 Adjust scale of noise UV for terrain shading 2023-01-16 23:48:56 +00:00
kayomn 81abb0d8d9 Fix errors in editable terrain painting calculations 2023-01-16 23:48:13 +00:00
kayomn 0b19b97293 Various editor and editor GUI fixes 2023-01-16 18:54:06 +00:00
kayomn 9982cae13b Add cobbled limestone terrain 2023-01-16 18:25:35 +00:00
kayomn b800041173 Add more style appropriate terrain assets 2023-01-16 17:44:14 +00:00
kayomn a296f010a2 Fix paint selection not resetting in editor UI 2023-01-16 01:43:24 +00:00
kayomn aa12a9ef2b Refactor editor UI logic and structure 2023-01-16 00:58:11 +00:00
kayomn 8613d41550 Expose player controller frozen property in editor 2023-01-16 00:57:17 +00:00
kayomn b06837f819 Fix duplicated G texture channel reading 2023-01-13 18:11:49 +00:00
kayomn 91790f4589 Fix mismatched shader uniform property in TerrainInstance3D 2023-01-13 18:00:13 +00:00
kayomn 6a4cb1a431 Fix leaky abstractions in EditableTerrain 2023-01-13 17:32:48 +00:00
kayomn 64d0280b1f Refactor terrain map code into own file 2023-01-13 10:08:56 +00:00
kayomn e0a7006be3 Make terrain selector close when toolbox is minimized 2023-01-13 09:10:28 +00:00
kayomn 808a3a2c3e Make terrain edit menu close when the 'new' button is clicked 2023-01-13 00:46:09 +00:00
kayomn 1765ed9947 Add initial support for hardcoded terrain switching 2023-01-13 00:36:09 +00:00
kayomn 0ab18050ad Fix terrain brush always being active 2023-01-12 16:52:33 +00:00
kayomn 2c6d01f146 Fix unchecked division by zero when painting terrain 2023-01-12 16:05:19 +00:00
kayomn 96c1d69e9c Fix inaccurate terrain smoothness sampling causing crash 2023-01-12 15:59:01 +00:00
kayomn 68308b4ea4 Fix editor terrain brush cursor not visualising scale 2023-01-12 15:55:09 +00:00
kayomn 16571d6efa Replace hardcoded brush with support for raster brush masks 2023-01-12 15:47:42 +00:00
kayomn 82b30d0d70 Merge pull request 'Editor Terrain Size Options' (#1) from editor-terrain-size-options into main
Reviewed-on: #1
2023-01-12 02:36:56 +01:00
kayomn be2c385263 Fix regression in editor theming 2023-01-12 01:32:42 +00:00
kayomn fec1ac28b7 Add missing doc comments to editor-local code 2023-01-12 01:30:37 +00:00
kayomn 038d5684a5 Fix wording of PlayerController.screen_to_plane doc comment 2023-01-12 01:28:00 +00:00
kayomn 80724c4f21 Split popup overlay from map wizard in editor 2023-01-12 01:19:17 +00:00
kayomn 09fb0e7e0a Add new close / cancel icon 2023-01-12 01:15:41 +00:00
kayomn 0dc5288e45 Fix player controller incompatibility with editor menus 2023-01-12 00:43:23 +00:00
kayomn 58d9a0b8c5 Fix default editor terrain size 2023-01-11 16:59:32 +00:00
kayomn a20c7ff70d Increase detail of terrain geometry 2023-01-11 16:58:58 +00:00
kayomn 9acfdcb16b Add 'new map' button 2023-01-11 13:51:53 +00:00
kayomn c3c9a9dab6 Add terrain creation wizard 2023-01-11 12:08:25 +00:00
kayomn c061864c37 Unlock TerrainInstance max limit 2023-01-11 11:38:32 +00:00
kayomn 422361b278 Fix TerrainInstance size limits 2023-01-11 11:37:49 +00:00
kayomn 5c4ff2b4ca Improve terrain shading appearance 2023-01-10 18:02:26 +00:00
kayomn 0ba6f3e421 Clean up smooth brush logic 2023-01-10 15:52:45 +00:00
kayomn ab3bac24d7 Fix user experience bugs in editor 2023-01-10 15:34:07 +00:00
kayomn 72d295e266 Adjust normal map calculations for terrain shading 2023-01-10 01:45:50 +00:00
kayomn 9a144705f5 Initial commit 2023-01-10 01:36:09 +00:00