bruvzg
bfd15886de
[TextServer] Prevent duplicate line breaks on virtual spaces when line width is significantly smaller than character width.
...
(cherry picked from commit 8a4a883854
)
2023-06-29 16:03:22 +02:00
Arman Elgudzhyan
05eeb8783c
Take 3D resolution scaling into account for mesh LOD
...
(cherry picked from commit ac4ca89000
)
2023-06-29 16:03:22 +02:00
kleonc
9cae00fae8
Fix Y-sort modulate for top-most Y-sorted CanvasItem
...
(cherry picked from commit bbb2a889d8
)
2023-06-29 16:03:21 +02:00
kleonc
bfc679b862
Fix modulation propagation for Y-sorted CanvasItems
...
(cherry picked from commit 5d8219b4fd
)
2023-06-29 16:03:21 +02:00
Bastiaan Olij
c41ad0f74c
Conditionally free GI and FOG resources, they may not have been created
...
(cherry picked from commit 57f343ab21
)
2023-06-29 16:03:21 +02:00
Bastiaan Olij
7ac0f406aa
Properly clear material slots on mesh instance when material is freed
...
(cherry picked from commit 1a128fcccd
)
2023-06-29 16:03:21 +02:00
Rindbee
5ef5ff00a4
Fix calling `TextureStorage::texture_3d_update()` could cause a crash
...
(cherry picked from commit ebd2b9e299
)
2023-06-29 16:03:21 +02:00
Lyuma
f745ef03a3
Fix AABB for unused bones
...
Fixes bug where bounding box of 1 unit was used in some skinned models and had wrong LODs.
(this could become very large if the mesh is scaled, such as FBX conversions)
Also fixes a mistake in calcualting bone index.
(cherry picked from commit 791d8001db
)
2023-06-29 16:03:20 +02:00
dearthdev
67698b155f
Correctly insert lightmap captures and geometries.
...
(cherry picked from commit 53903f07dc
)
2023-06-16 20:55:23 +02:00
Yuri Rubinsky
2bcad4c55b
Exclude incorrect completion options for `render_mode` in shaders
...
(cherry picked from commit 719741b0eb
)
2023-06-16 20:55:23 +02:00
Hugo Locurcio
3d61653e45
Document the InitialAction enum in RenderingDevice
...
This also improves the documentation for the FinalAction enum,
and fixes an incorrect comment in the RenderingDevice header.
(cherry picked from commit 0f82a0f569
)
2023-06-16 16:37:38 +02:00
Ninni Pipping
f93a4287cf
Enable shadow warnings and fix raised errors
...
(cherry picked from commit 71ee65dc57
)
2023-05-12 13:56:48 +02:00
Patrick
9d9b7511a0
Fix Rotation Issue with NODE_POSITION_VIEW Visual Shader Node
...
(cherry picked from commit e35bbd76a3
)
2023-05-12 12:31:22 +02:00
Bastiaan Olij
a5cb7a5eb5
Expose viewports render targer RID
...
(cherry picked from commit ab60d3b65c
)
2023-05-12 12:07:01 +02:00
Pedro J. Estébanez
907b10fb96
Fix additional cases of breakage of rendering effects
...
(cherry picked from commit c58e50adcc
)
2023-05-12 12:07:01 +02:00
clayjohn
2435c9426d
Use proper UV in cubemap downsampler raster
...
This removes bias in cubemap downsampling shader that resulted in the bottom of cubemaps being over represented
(cherry picked from commit fb77021559
)
2023-05-12 12:07:01 +02:00
Pedro J. Estébanez
908325c29e
Fix unsupported sampler filter used for voxel GI
...
(cherry picked from commit 09aa1bbdb3
)
2023-04-27 08:43:30 +02:00
Pedro J. Estébanez
a5779ff281
Fix breakages of volumetric fog on voxel GI changes
...
(cherry picked from commit 2beed0d5dc
)
2023-04-27 08:43:23 +02:00
bitsawer
a0a95c7bc7
Fix Shader Preprocessor line numbering when disabled
...
(cherry picked from commit 34896d8e89
)
2023-04-27 08:41:43 +02:00
Eoin O'Neill
5120afc236
Fix crash caused by invalid mix_rate assignment due to bogus
...
project settings.
We'll default to a sensible value in the case that a user has
somehow managed to modify the configuration file incorrectly.
Closes 69819
(cherry picked from commit 5a08091168
)
2023-04-26 14:51:00 +02:00
kleonc
13cfbe6a25
Fix deserializing resource usage debug data
...
(cherry picked from commit 3e7752463a
)
2023-04-24 17:03:57 +02:00
João Pedro Braz
1a85f6398f
Use MODELVIEW_MATRIX for vertex transform when double precision is enabled
...
This commit updates the double precision vertex transform code from
using the MODEL_MATRIX to now use the MODELVIEW_MATRIX instead.
This can be made possible by transforming the MODELVIEW_MATRIX
back into model space (ie, same space as the MODEL_MATRIX) and then using it as if it were the MODEL_MATRIX.
With this in place we now properly handle VERTEX transformations that
a Material Shader might do, such as billboard-ing.
(cherry picked from commit 63c6f0b93c
)
2023-04-24 16:52:24 +02:00
clayjohn
ad582cf0b1
Don't store instance transform in RD 3D renderer unless requested
...
Previously, when using doubles builds of the engine, instance transform was stored no matter what which caused world space particles to accumulate the instance transform twice
(cherry picked from commit 29edd277e4
)
2023-04-24 16:52:24 +02:00
Erik Johnson
410b503aac
Translate inactive particles to -INF
...
(cherry picked from commit 6229c2a1f9
)
2023-04-24 16:28:30 +02:00
clayjohn
27df8b93aa
Properly calculate lifetime_split for particles
...
(cherry picked from commit f35ca4a9c7
)
2023-04-24 16:28:28 +02:00
bruvzg
e071fb2263
[TextServer] Use dedicated flag for object replacement characters.
...
(cherry picked from commit d904516e55
)
2023-04-24 16:28:28 +02:00
Hugo Locurcio
9253f415b3
Fix `get_test_texture()` returning an almost fully white texture
...
The texture's appearance is now similar to the texture that was displayed
on the TestCube node in Godot 2.x.
(cherry picked from commit e4d5cecd4c
)
2023-04-24 16:28:26 +02:00
Ricardo Buring
deb22e2381
Fix typo bug in convex-convex separating axis test
...
(cherry picked from commit d7aed57b60
)
2023-04-24 14:04:19 +02:00
mightygoat
66633d19a1
Fix the limit for interpolation of R0 with respect to metallic and SSR
...
Shlick term
(cherry picked from commit 2c000cb72f
)
2023-04-07 17:44:40 +02:00
Malcolm Nixon
7c62d1106e
Modify "physics/3d/solver/contact_max_allowed_penetration" precision to three significant digits, so values down to "0.001" can be specified.
...
Updated additional 2D and 3D physics parameters based on team recommendations
Co-Authored-By: Ricardo Buring <rburing@users.noreply.github.com>
(cherry picked from commit 1d1d3c71e0
)
2023-04-07 17:44:39 +02:00
Ricardo Buring
58d8368481
Fix collide_shape return type
...
Fix PhysicsDirectSpaceState3D::_collide_shape return type.
Also PhysicsDirectSpaceState2D::_collide_shape.
(cherry picked from commit 61429a5f49
)
2023-03-27 17:50:35 +02:00
Bastiaan Olij
a94a2062af
Add XRServer.world_origin property
...
(cherry picked from commit fd8f26f26e
)
2023-03-27 16:56:22 +02:00
RandomCatDude
149f16b2fa
fix spotlight shadows in volumetric fog
...
(cherry picked from commit 59c31004f8
)
2023-03-27 16:47:46 +02:00
Ricardo Buring
d8f0c2bdca
Revert attempted fix of trimesh CCD
...
(cherry picked from commit bec1182093
)
2023-03-27 16:22:22 +02:00
Mikael Hermansson
7ac80569b3
Fix extension bindings for motion collision/result structs
...
(cherry picked from commit be64ffd25d
)
2023-03-14 13:59:04 +01:00
Johan Aires Rastén
4ff705b37e
Fix instance uniforms breaking when setting a new mesh.
...
Fixes #58113
(cherry picked from commit 26aecbfe57
)
2023-03-14 13:59:03 +01:00
SlugFiller
d508d0a642
Fixes a canvas item set to clip children being drawn as black if no children are visible
...
(cherry picked from commit f25508befb
)
2023-03-14 13:59:03 +01:00
SlugFiller
18bf2663f9
Fix AABB calculation for meshes using Skeleton2D
...
(cherry picked from commit 06a1fe0364
)
2023-03-14 13:59:03 +01:00
Fabio Iotti
01324f025a
Error on hint_normal_roughness_texture and hint_depth_texture outside of spatial shader
...
(cherry picked from commit 528e0d095e
)
2023-03-13 21:51:36 +01:00
Bastiaan Olij
c8f64c68a5
Use MSAA 2D texture in multipass tonemapper
...
(cherry picked from commit 903aa0e385
)
2023-03-13 21:48:02 +01:00
clayjohn
925381201b
Add a few more rendering timestamps
...
(cherry picked from commit 1adc4e5875
)
2023-03-13 21:43:38 +01:00
clayjohn
5662542526
Avoid copying CanvasTexture when updating proxy
...
(cherry picked from commit 84482ef90b
)
2023-03-13 14:10:38 +01:00
Rémi Verschelde
0cd1483132
Merge pull request #73959 from clayjohn/GL-mobile-warnings
...
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 21:39:06 +01:00
clayjohn
c69b14e96e
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 12:28:02 -08:00
bruvzg
bbc77b6d29
Fix text server GDExtension build.
2023-02-26 18:38:22 +02:00
bitsawer
35c970f4f6
Fix shader preprocessor include resource check
2023-02-26 13:59:29 +02:00
Bastiaan Olij
4c2f33cfae
Fixing issues with SSIL artifacts
2023-02-24 16:13:18 +11:00
Bastiaan Olij
467d735eb1
Fix issue with default textures requiring arrays when using multiview
2023-02-22 16:50:58 +11:00
Rémi Verschelde
1fc28fe31f
Merge pull request #73698 from clayjohn/SS-bias
...
Increase SSAO and SSIL bias to account for variance in mipmap generation
2023-02-21 21:16:07 +01:00
Rémi Verschelde
5e57205365
Merge pull request #73478 from NewDefectus/master
...
Use the original canvas to calculate light positioning
2023-02-21 21:14:51 +01:00