Commit Graph

3832 Commits

Author SHA1 Message Date
clayjohn 031f221b9d Create tangent array if mesh created without tangents
This extends our previous change to ensure that compressed meshes have tangents

Now we ensure tangents are always used. This greatly simplifies our compression code at the cost of a small amount of bandwidth
2023-11-07 14:24:23 +01:00
Yuri Sizov f2de1137d9 Unexpose internal data property of `AnimationLibrary` 2023-11-02 18:57:39 +01:00
Rémi Verschelde c6c4728440
Merge pull request #84303 from bitsawer/fix_material_texture_updates
Fix several Material texture parameter updates
2023-11-01 22:33:23 +01:00
bitsawer 1ec97a7b91 Fix several Material texture parameter updates 2023-11-01 03:10:46 +02:00
bruvzg 9ad55dc32d
[TextServer] Fix line breaks for dropcap and resizing embedded objects. 2023-10-31 22:39:42 +02:00
Rémi Verschelde 17a575625e
Merge pull request #84159 from clayjohn/uv-compression
Fix multiple issues with UV compression
2023-10-30 23:19:45 +01:00
Rémi Verschelde bb997d787d
Merge pull request #84127 from quirkylemon/get-type-variations
Include empty type variations in `Theme::get_type_list`
2023-10-30 23:18:58 +01:00
clayjohn 3f5c16dd9e Fix multiple issues with UV compression 2023-10-30 23:11:34 +01:00
QuirkyLemon b3970336ce Added variations to get_type_list() 2023-10-30 10:27:38 -05:00
Rémi Verschelde ceaa8333f3
Merge pull request #84028 from QbieShay/qbe/fix-damp-fric
Fix friction being in the correct if/else branch
2023-10-30 16:26:40 +01:00
QbieShay 8f2a2ece80 Fix friction being in the correct if/else branch
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-10-30 15:00:02 +01:00
Rémi Verschelde 2f1f1206a9
Merge pull request #84180 from bruvzg/text_mesh_offset
[Text Mesh] Fix incorrectly cached glyph offsets.
2023-10-30 10:20:32 +01:00
Rémi Verschelde ad9297ee8c
Merge pull request #84097 from stoofin/plane-mesh-tangent
Fix PlaneMesh tangents for 'Face X' orientation
2023-10-30 10:18:57 +01:00
Rémi Verschelde 47101c0cb1
Merge pull request #84056 from QbieShay/qbe/fix-orbit-z
Fix wrong rotation matrix for orbit z velocity
2023-10-30 10:18:33 +01:00
bruvzg 2a06594ff2
[Text Mesh] Fix incorrectly cached glyph offsets. 2023-10-30 10:56:28 +02:00
Rémi Verschelde 9144457484
Merge pull request #84103 from QbieShay/qbe/fix-turbulence
Fix turbulence post rework
2023-10-28 21:40:15 +02:00
Rémi Verschelde 191195a303
Merge pull request #84060 from AThousandShips/get_set_fix
Fix invalid return from some more `_get/_set`
2023-10-28 18:34:58 +02:00
Rémi Verschelde a379beeaa8
Merge pull request #84029 from QbieShay/qbe/fix-last-flag
Fix damp as friction not updating shader code
2023-10-28 18:34:34 +02:00
QbieShay 3b9cd04e1f fixed turbulence post rework. 2023-10-28 18:31:01 +02:00
QbieShay a764e42860 fixed wrong rotation matrix for orbit z velocity 2023-10-28 15:03:36 +02:00
stoofin 6099d9f3d1 Fixed PlaneMesh tangents for 'Face X' orientation 2023-10-27 21:43:54 -07:00
A Thousand Ships 3ef6314980 Fix invalid return from some more `_get/_set`
Invalidly returned `true` on the non-matched path
2023-10-27 21:26:13 +02:00
Rémi Verschelde e65459294c
Merge pull request #84054 from AThousandShips/mesh_fix
Fix invalid return from some `_get/_set`
2023-10-27 17:45:48 +02:00
A Thousand Ships b04cf8486d Fix invalid return from some `_get/_set`
Invalidly returned `true` on the non-matched path
2023-10-27 15:49:19 +02:00
Rémi Verschelde 5664f09f78
Merge pull request #84047 from clayjohn/mesh-3x-upgrade-crash
Fix crash when upgrading meshes from 3.x format
2023-10-27 13:33:30 +02:00
clayjohn 1e3408c5b7 Fix crash when upgrading meshes from 3.x format 2023-10-27 12:21:00 +02:00
QbieShay aad644514f Fixed damp as friction not updating shader code 2023-10-27 01:02:23 +02:00
A Thousand Ships 5688bb1888 [Particles] Fix invalid parameter ranges 2023-10-26 16:14:58 +02:00
Rémi Verschelde 8835db5f37
Merge pull request #83881 from jsjtxietian/fix-generated-particle-shader-use-noise-direction-before-define
Fix `noise_direction` variable used before initialized in particle shader when using turbulence with collisions
2023-10-26 08:57:59 +02:00
jsjtxietian cc14e0092a Fix `noise_direction` variable used before initialized in particle shader
when using turbulence with collisions, delete unused code
2023-10-25 19:35:16 +08:00
Rémi Verschelde 1a3db248d5
Merge pull request #83887 from groud/fix_tile_set_canvas_texture_issue
Fix normals in TileSet when using CanvasTextures
2023-10-25 10:30:46 +02:00
Gilles Roudière 162286cff4 Fix normals in TileSet when using CanvasTextures 2023-10-24 13:10:06 +02:00
Rémi Verschelde e8d57afaec
Merge pull request #83831 from QbieShay/qbe/fix-normal-point
Particles: Fix directed points not working, and fix friction formula
2023-10-24 11:39:17 +02:00
Rémi Verschelde bbade19822
Merge pull request #83749 from k0T0z/fix-enabling-particle-turbulence
Fix massive performance hit due to enabling collision
2023-10-24 10:54:27 +02:00
Rémi Verschelde 261fe7ce6a
Merge pull request #83704 from clayjohn/misc-mesh-fixes
Some more fixes for compressed meshes
2023-10-24 10:54:23 +02:00
Rémi Verschelde b629049b54
Merge pull request #83658 from RPicster/triplanar-world-normal-maps
Fixing incorrect normal map when using triplanar world mapping and mesh rotation
2023-10-24 10:54:15 +02:00
Rémi Verschelde e02e38d2d5
Merge pull request #82055 from jsjtxietian/add-support-for-texture3d-serilization
Add support for ImageTexture3D serialization
2023-10-24 10:53:46 +02:00
Rémi Verschelde f41e07bfe6
Merge pull request #81737 from Mickeon/fix-connection-inherited-packed-scene
Fix internal `CONNECT_INHERITED` being saved in PackedScene & Make Local
2023-10-24 10:53:37 +02:00
clayjohn 8f9cd4e1e3 Some more fixes for compressed meshes
This cleans up a few more cases of uint32_t->uint64_t

Importantly this fixes an edge case in the axis-angle compression by
using the pre-existing Basis methods instead
2023-10-24 09:38:12 +02:00
Rémi Verschelde 50d17f6b8c
Merge pull request #83613 from clayjohn/surface_upgrade_tool
Add an editor tool to automatically upgrade and re-save meshes
2023-10-24 00:10:37 +02:00
clayjohn 318ef8461f Implementation of tool to automatically upgrade and re-save meshes 2023-10-23 22:39:48 +02:00
Raffaele Picca 73918b0c70 Fixing incorrect normal map when using triplanar world mapping and mesh rotation 2023-10-23 14:53:59 +02:00
QbieShay 49fee5bc28 Fixed directed points not working, and fixig friction formula
Co-authored-by: RPicster <picster@pixelgod.net>
2023-10-23 14:06:23 +02:00
Saif Kandil 98db2b42f7 fix performance hit due to enabling collision
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
2023-10-22 17:54:27 +03:00
Yuri Sizov cd31407cb3 Clean up some Editor, OpenXR, VideoStream code
- EditorNode has excessive and pointless checks for Input singleton.
- EditorNode initialization order is a bit awkward.
- OpenXR binds a method that doesn't need that (for call deferred).
- VideoStream has a formatting error.
2023-10-20 17:54:39 +02:00
Rémi Verschelde 55fc347efd
Merge pull request #83620 from clayjohn/particles-material-emission
Fix typo in particles process material when using emission color texture
2023-10-20 15:11:48 +02:00
clayjohn 1b80f21abf Fix typo in particles process material when using emission color texture 2023-10-19 17:29:46 +02:00
Saracen a16cbf6869 Fix crash on recovered orphaned nodes. 2023-10-19 11:15:57 +01:00
Rémi Verschelde f8818f85e6
Merge pull request #83568 from mrTag/navigationregion2d_fix
Fixing "Navigation map synchronization error" when using NavigationRegion2D
2023-10-19 00:27:25 +02:00
Rémi Verschelde c781694a82
Merge pull request #83488 from QbieShay/qbe/fix-particle-pause
Fixed multiple particle issues: division by zero, color ramp override, scale dependent on amount ratio
2023-10-18 21:32:50 +02:00