Commit Graph

2262 Commits (master)

Author SHA1 Message Date
Ryan Roden-Corrent 6c23fe5e71
Update shader doc for godot 4. 2022-08-14 10:49:16 -04:00
Evan 1a707af92e
Fix grammatical error in main page warning 2022-08-14 08:54:11 -04:00
Marc Gilleron a930a6ae11 Only update virtual textures if they are not updating already 2022-08-13 21:59:46 +01:00
Marc Gilleron 5c47188773 Fix internally generated nodes causing crashes in VoxelGraphEditor 2022-08-13 18:22:07 +01:00
Marc Gilleron 1c0298af1d Fix wrong tooltip on VoxelGraphEditor pin button 2022-08-13 18:21:25 +01:00
Marc Gilleron cf43ff5201 Missing include 2022-08-13 16:58:06 +01:00
Marc Gilleron dbbab6a81d Separate normalmap baking from meshing, so meshes don't have to wait.
- The option for having it separate is hardcoded and both code paths still
  exist. Not sure if that will be exposed or removed entirely.
- Still need to limit the frequency at which normalmaps are updated
- Would be nice to make this mesher-independent,
  Transvoxel is just a fastpath
- Task priority might need improvement, it's a bit messy. Maybe use bands?
2022-08-13 16:40:46 +01:00
Marc Gilleron 3411a9e1cc Fix very low-priority tasks never getting picked 2022-08-13 16:34:45 +01:00
Marc Gilleron b99b93904b Note about alignment 2022-08-13 16:30:24 +01:00
Marc Gilleron 4f5b0b6983 Added a bunch of configuration warnings related to shader 2022-08-10 20:02:36 +01:00
Marc Gilleron c1a277c46c Fix volume check 2022-08-10 20:02:11 +01:00
Marc Gilleron 0b26071663 Support edited voxels in distance normalmaps 2022-08-09 23:56:38 +01:00
Marc Gilleron 66cf6e1539 Error message tweak 2022-08-09 23:55:47 +01:00
Marc Gilleron 3ef0539c95 Default SDF scale to one corresponding to the default bit depth 2022-08-09 23:55:26 +01:00
Marc Gilleron 2d63797eb3 Moved interpolation helper to common funcs 2022-08-09 23:53:54 +01:00
Marc Gilleron 4d5f7c40db Optional profiling of RWLocks 2022-08-09 23:51:28 +01:00
Marc Gilleron da5c2bccdb Document some requirements 2022-08-09 23:51:03 +01:00
Marc Gilleron 2d2c9d7951 Comments 2022-08-09 23:50:38 +01:00
Marc Gilleron d7994dfd4d More occurrences of `shader_param` renamed to `shader_uniform` 2022-08-07 23:43:26 +01:00
Marc Gilleron d7642599c6 Merge branch 'master' into smooth_normalmaps 2022-08-07 23:32:37 +01:00
Marc Gilleron a9752362cd `shader_param` occurrences were renamed `shader_uniform` 2022-08-07 23:31:20 +01:00
Marc Gilleron b0cd02a2ef Support modifiers in distance normalmaps 2022-08-07 23:03:45 +01:00
Marc Gilleron 5bb0f4a508 Fix some signedness GCC warnings 2022-08-07 23:00:41 +01:00
Marc Gilleron 8851361531 Expanded shader API reference 2022-08-07 20:56:13 +01:00
Marc Gilleron 54bfd0fddc Wrong varying 2022-08-07 19:06:11 +01:00
Marc Gilleron fcd1fc38a5 Group properties in VoxelMesherTransvoxel 2022-08-07 18:05:16 +01:00
Marc Gilleron af324c7d9f Added configuration warning when using distance normals with an incompatible generator 2022-08-07 17:58:38 +01:00
Marc Gilleron 0bfe6395f0 Initial documentation for distance normals 2022-08-07 17:46:51 +01:00
Marc Gilleron 04bc2110df Default octahedral encoding to false for now because it doesnt look good enough 2022-08-07 17:46:20 +01:00
Marc Gilleron c15ded67f6 Vary tile size with LOD and integrate to VoxelLodTerrain 2022-08-07 16:40:27 +01:00
Marc Gilleron 8dab1e8f2a Fail earlier if the generator does not support series generation 2022-08-07 16:15:51 +01:00
Marc Gilleron 98feef9b12 Added series generation to VoxelGeneratorNoise2D 2022-08-07 16:15:17 +01:00
Marc Gilleron 11107896f3 Print size of more things 2022-08-06 23:15:56 +01:00
Marc Gilleron c645bb708d Comments 2022-08-06 23:15:42 +01:00
Marc Gilleron 4b1ebf2bcc Move function below to keep `ray_intersects_triangle` grouped 2022-08-06 22:47:43 +01:00
Marc Gilleron 9cb667b642 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2022-08-04 21:21:17 +01:00
Marc Gilleron c1d7ab1117 More details about printing 2022-08-04 21:20:56 +01:00
Marc Gilleron 632f501a80 Mention statics in code style 2022-08-04 21:20:38 +01:00
Marc Gilleron a0fb8b586d Fix other link 2022-08-04 21:20:11 +01:00
Marc Gilleron da99d15c4d Fix link 2022-08-04 21:20:01 +01:00
Marc Gilleron 54efed4714 Added missing doc entry for block format v4 2022-08-04 21:19:46 +01:00
Marc Gilleron dcc5e3c174 Added option for octahedral encoding of normals to save memory 2022-08-04 21:19:02 +01:00
Marc Gilleron 3606ab9b93 No need to cache direction 2022-08-04 21:16:33 +01:00
Marc af0941102b
Merge pull request #420 from aaronfranke/flush
Rename `flush_cache` with connection parameter to `flush_cache_to_connection`
2022-08-04 18:58:01 +01:00
Marc fa40273dd6
Merge pull request #419 from aaronfranke/doctool
Run doctool to update docs for Godot 4
2022-08-04 18:55:53 +01:00
Aaron Franke 5170d3cc6a
Rename flush_cache with connection parameter to flush_cache_to_connection 2022-08-04 11:30:32 -05:00
Aaron Franke 84b68dd459
Run doctool to update docs for Godot 4 2022-08-03 17:51:08 -05:00
Aaron Franke 637bb0ed17
Update class list in get_doc_classes
Add new ones and alphabetize
2022-08-03 17:37:07 -05:00
Marc Gilleron 3ee3931824 Separated function to store into images only 2022-08-03 21:43:57 +01:00
Marc Gilleron bde74f0785 Store final normals encoded instead of full vec3f, and copy into Image instead of using set_pixel 2022-08-03 21:31:29 +01:00