Commit Graph

515 Commits

Author SHA1 Message Date
Yuri Rubinsky
e5b7a95f88 Implement glow map effect 2024-11-14 00:27:23 +01:00
Rémi Verschelde
672cea4d08 CI: Update Ubuntu runners to 24.04, but keep 22.04 for Linux builds
Pin clang-format to version 16, and black to 24.10.0.
Keep using Ubuntu 22.04 for Linux builds for portability.
2024-11-13 23:48:04 +01:00
Haoyu Qiu
e42a091db4 Fix Button not listing hover_pressed stylebox 2024-11-13 23:22:36 +01:00
lawnjelly
06cc39ad91 Document that Input.is_action should not be used during input-handling
In most cases `InputEvent.is_action*` is more appropriate during input-handling.
2024-11-13 23:18:10 +01:00
951ae7b11d Backported from godot4: Add the ability to look-at in model-space.
This is a much simpler attempt to solve the same problem as #76060, but
without breaking any compatibility.

* Adds a description of what model space is in the Vector3 enums
(MODEL_* constants). This has the proper axes laid out for imported 3D
assets.
* Adds the option to `look_at` using model_space, which uses
Vector3.MODEL_FRONT as forward vector.

The attempt of this PR is to still break the assumption that there is a
single direction of forward (which is not the case in Godot)
and make it easier to understand where 3D models are facing, as well as
orienting them via look_at.

- reduz

5fdc1232ef

Also bound the new Basis helper methods.
2024-09-30 17:04:00 +02:00
c09474ccd8 Re-extracted class docs. 2024-09-20 10:03:06 +02:00
8a4da4c157 Backported: Doctool: Remove version attribute from XML header.
Doctool: Remove version attribute from XML header

We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).

- akien-mga

32ddd4f4e0
2024-09-20 09:00:20 +02:00
36622694ee Re-extracted class docs. 2024-09-08 17:02:09 +02:00
bruvzg
8479340f52 Add audio/general/text_to_speech project setting to enable/disable TTS. 2024-09-07 11:55:21 +02:00
bruvzg
66af3f29eb Backport text-to-speech support. 2024-09-07 10:28:39 +02:00
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
05dbe60f9b Re-extracted class docs. 2024-07-16 23:22:41 +02:00
efccdca45f Added back GIProbes. 2024-07-16 19:07:24 +02:00
a97a334ebd Renamed Particle to GPUParticle and Particle2D to GPUParticle2D pt3. 2024-07-16 16:16:12 +02:00
cac80e3167 Renamed Particle to GPUParticle and Particle2D to GPUParticle2D pt1. 2024-07-16 16:02:00 +02:00
9af21bf8a5 Adding back the gpu based particles pt1. 2024-07-16 08:22:27 +02:00
f297ccbc7d Added back the scene side lighmapper classes. 2024-07-15 21:20:48 +02:00
98cbf1026a Adding back lightmaps pt1. 2024-07-15 17:36:28 +02:00
Rémi Verschelde
ec6c038fdc doc: Fix cherry-pick mistake for Vector3.cross description 2024-07-14 21:04:18 +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
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
Frederick Kramer Dal Pra
8056c239e7 Fix typo in @GlobalScope.xml
"inteters" instead of "integers"
2024-07-14 08:43:26 +02:00
lawnjelly
4f1f6633e1 Fix Viewport interpolation mode
Viewport interpolation mode is a special case, which should be set to ON instead of INHERIT.
2024-07-14 08:40:21 +02:00
lawnjelly
d249ee0624 ImageTexture - document workaround for mipmap generation 2024-07-14 08:16:39 +02:00
Charlie Burnham
8eaeba938b Backport fix documentation about body_shape_index 2024-07-14 07:45:18 +02:00
1b14af3a98 Moved the y_sort property from YSort to Node2D. Node2d has it off by default while YSort has it on by default. 2024-05-10 17:23:52 +02:00
6783cb92ab Re-extracted class docs. 2024-04-26 17:32:25 +02:00
5d190f21d6 Re-extracted class docs. 2024-04-21 15:39:49 +02:00
a5c71c5ffd Class docs for ORMSpatialMaterial. 2024-04-21 15:33:20 +02:00
ed224298e5 Also add is_zero_approx() to Vector4. 2024-04-14 16:59:12 +02:00
Haoyu Qiu
441bb29fd3 Add is_zero_approx methods to Vector{2,3} 2024-04-14 16:44:38 +02:00
Haoyu Qiu
1d18b076de Add Node.is_node_ready 2024-04-14 16:35:04 +02:00
8648a32667 Backported from Godot4: Expose TileMapLayer
- groud
3cd4b2859c
2024-04-06 18:35:58 +02:00
bruvzg
620b30a86a Backport locale selection improvements. 2024-04-06 12:37:02 +02:00
Aleksey Kapustyanenko
11cdb79005 Rotary input for 3.x 2024-04-06 12:20:05 +02:00
lawnjelly
909acac329 Discrete Level of Detail
Add scene side discrete level of detail.

New node `LOD` for UI, and `LODManager` within `World` for automatically updating child visibilities based on distance from cameras.
2024-04-06 12:06:01 +02:00
SysError99
487b454506 Add a get_or_add method to Dictionary
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-04-06 10:46:31 +02:00
a2d07caf93 Small doc tweak. 2024-03-27 16:14:42 +01:00
fd1f8aa5d7 Update docs for the vertex lights 3d module. 2024-03-27 16:12:15 +01:00
e1fcf610e6 Small tweaks to docs. 2024-03-27 09:14:58 +01:00
cd8f79865e Added a property to World2D for the vertex light 2d map. 2024-03-27 08:16:48 +01:00
a58eba6277 Re-extracted class docs. 2024-03-27 08:06:09 +01:00
26ca3d7235 Added VertexLight2D Node. 2024-03-24 21:45:06 +01:00
66a2d798b3 Implemented api and data storage for the VertexLights2D singleton. 2024-03-24 20:57:35 +01:00
f3745546c1 Re-extracted class docs. 2024-03-17 22:48:15 +01:00
053b283c47 Reworked RendetingServer's canvas_item_add_texture_rect_animation's last parameter. Now instead of bool randomize_start_time it's real start_time. This should make it more versatile. 2024-03-12 17:52:12 +01:00
105115dbb3 Removed clips_input() method and _clips_input() virtual method from Control. Made clip_contents to also have an input clipping effect, since I couldn't think any single instance where keeping them separated would be useful.
This fixes LayeredTileMap's editors clipping input while being invisible, and likely other smaller issues.
2024-03-12 17:29:22 +01:00
765a8ded6a Re-extracted class docs. 2024-03-11 21:09:47 +01:00
588b50e9ce Added randomize_start_time optional parameter to canvas_item_add_texture_rect_animation(). 2024-03-11 20:53:05 +01:00