Commit Graph

4068 Commits

Author SHA1 Message Date
Hugo Locurcio
769c33abdf Backport DirectionalLight fade_start property to 3.x
- Implement shadow fading when using the Orthogonal shadow mode
  (like in `master`).

This allows customizing the distance at which directional shadows
start to fade away. Shadow fading will also always start at the same
distance now, regardless of the current shadow mode in use.

This is useful for enclosed levels to prevent shadows from fading
at all with a well-tuned maximum distance.

The default fade start value (0.8) results in fading happening later
in the distance compared to the previous behavior, where fading started
from the last shadow split distance (0.6 in PSSM 4 Splits and
0.1 in PSSM 2 Splits).
2024-07-17 00:11:17 +02:00
0dfebc99a2 Udpated last merged commit in changelog. 2024-07-17 00:02:48 +02:00
lawnjelly
91de0ee427 Fix physics tick count in Input.action_press and Input.action_release
The physics tick count was not yet updated there.
2024-07-17 00:01:41 +02:00
a5762c85c1 Fix typo. 2024-07-16 23:55:30 +02:00
ee8a1c83eb Fix error. 2024-07-16 23:47:13 +02:00
5991e9313a Fix warning. 2024-07-16 23:40:00 +02:00
b2bda506de Fix osx build. 2024-07-16 23:38:23 +02:00
05dbe60f9b Re-extracted class docs. 2024-07-16 23:22:41 +02:00
f9507dc475 Clang format everything again. 2024-07-16 21:29:26 +02:00
8181808b74 Ran the header guard move script. 2024-07-16 21:27:34 +02:00
c7ac1db971 Clang format everything. 2024-07-16 21:23:54 +02:00
4d2e9220c7 Updated the clang format script. 2024-07-16 21:23:47 +02:00
247b04763f Improvements to the filesystem dock. 2024-07-16 21:00:57 +02:00
85945392a3 An another small tweak. 2024-07-16 20:46:09 +02:00
38dd206a3b Tweaks to the editor defaults. 2024-07-16 20:19:54 +02:00
4840b3d1e3 Improved the renderer selector when creating a new project. 2024-07-16 20:03:07 +02:00
85e7f7327e Fix and enable the gles3 renderer by default. 2024-07-16 19:44:22 +02:00
efccdca45f Added back GIProbes. 2024-07-16 19:07:24 +02:00
85cddb07b4 Renamed Particle to GPUParticle and Particle2D to GPUParticle2D pt4. 2024-07-16 16:59:21 +02:00
a97a334ebd Renamed Particle to GPUParticle and Particle2D to GPUParticle2D pt3. 2024-07-16 16:16:12 +02:00
7c5e16effb Renamed Particle to GPUParticle and Particle2D to GPUParticle2D pt2. 2024-07-16 16:14:42 +02:00
db3680f8e7 Fix includes. 2024-07-16 16:06:23 +02:00
cac80e3167 Renamed Particle to GPUParticle and Particle2D to GPUParticle2D pt1. 2024-07-16 16:02:00 +02:00
9d3770cbad Fix build. 2024-07-16 15:57:04 +02:00
9af21bf8a5 Adding back the gpu based particles pt1. 2024-07-16 08:22:27 +02:00
3cab5b1e09 Hopefully fix msvc build. 2024-07-16 00:21:13 +02:00
9d6680ce6d Adding back the GLES3 renderer pt1. Unlike in godot it can be disabled compile time. It will be enabled afer if works. 2024-07-16 00:14:10 +02:00
71e66701e1 Added back the denoise module, with oidn built in. 2024-07-15 22:17:52 +02:00
58f90386c9 Added back the lightmapper_cpu module. 2024-07-15 21:54:47 +02:00
a310ae5238 Added back the raycast module with embree built in. 2024-07-15 21:44:37 +02:00
f297ccbc7d Added back the scene side lighmapper classes. 2024-07-15 21:20:48 +02:00
d899382c30 Added back the xatlas_unwrap module. Also moved xatlas into it so it's not in the thirdparty folder. 2024-07-15 20:21:33 +02:00
62fdccce25 Adding back lightmaps pt2. 2024-07-15 19:15:47 +02:00
98cbf1026a Adding back lightmaps pt1. 2024-07-15 17:36:28 +02:00
Fabio Alessandrelli
0c95ddb60d Use unztell64 in FileAccessZIP to ensure 64 bit return
(cherry picked from commit efccebd3db90d7baf0947cd02612ab987ab87868)
2024-07-14 21:04:32 +02:00
Rémi Verschelde
ec6c038fdc doc: Fix cherry-pick mistake for Vector3.cross description 2024-07-14 21:04:18 +02:00
melquiadess
33c6c019fa Add POST_NOTIFICATIONS permission to the list of permissions available in the Export dialog
(cherry picked from commit 739190ca2b7f1b67a78eff33154a4bfd1964f5c4)
2024-07-14 21:03:39 +02:00
A Thousand Ships
ad12d466cc Clarify the behavior of Vector2/3.cross and mention parallel vectors
(cherry picked from commit 47a8033698b14c8a7bb25867198c1371382e3398)
2024-07-14 21:03:30 +02:00
kleonc
18cabe9d32 Always look for unique node names in owner if not found in owned nodes
(cherry picked from commit 95ced4bbdcea4d8e225e235fc120c4ebd72f443d)
2024-07-14 21:03:13 +02:00
bruvzg
2653e5d530 Enabled secure restorable state.
(cherry picked from commit 84380a94f776c8c1e7786d2eb3fb811789f42639)
2024-07-14 21:02:30 +02:00
Rémi Verschelde
2936883335 miniupnpc: Disable socket timeout on Windows, matching upstream
Fixes #88471.

(cherry picked from commit f695de7c68e373088175f8f3b1650f11a27be7aa)
2024-07-14 21:01:53 +02:00
bruvzg
d571432221 Add support for PCK embedding section with non GNU-ld linkers.
(cherry picked from commit 625c4bdacef4173f94200632362e25e537ad5d21)
2024-07-14 21:01:25 +02:00
5b8f159214 Mark the last backported commit. 2024-07-14 11:22:24 +02:00
lawnjelly
9909bef3d6 Physics Interpolation - refactor client interpolation pump
* Move client interpolation pump to earlier in the iteration before 3D physics synced
* Allow `get_global_transform_interpolated()` to prime the client interpolation inside a physics tick
2024-07-14 11:19:30 +02:00
lawnjelly
1be9006ab0 Physics Interpolation - refactor Camera and fix get_camera_transform()
* Moves 3D Camera interpolation scene side.
* Automatically switches `get_camera_transform()` to report interpolated transform during `_process()`.
* Fixes `ClippedCamera` to work with physics interpolation.
2024-07-14 11:18:12 +02:00
lawnjelly
88406b7fbc Physics Interpolation - Fix 2D skinning
2D skinning required the interpolated skeleton base transform to be updated when using interpolation.
2024-07-14 10:38:02 +02:00
9d8dfe2a31 Remove unused includes. 2024-07-14 09:55:25 +02:00
5ede674cb4 Fix build. 2024-07-14 09:54:36 +02:00
lawnjelly
9c1d49c6a1 Fix spatial_editor_plugin enum
* The `view_mesh_stats` feature introduced a new enum value `VIEW_SLECTED_INFO` within the unnamed `VIEW` enum.
* This turns out to be saved somehow, which means the view settings can get out of sync when reloading the project in an older version of the editor.
* The solution is simply to move the new value to the end of the enum so there are no conflicts.
2024-07-14 09:50:36 +02:00
lawnjelly
113b4d8f84 Editor 3D view mesh stats
Similar to information window, add a small optional window to display face count and other stats.
2024-07-14 09:47:31 +02:00