Commit graph

64271 commits

Author SHA1 Message Date
sunfl0w 0e56b64fc4 Fix albedo value wraparound in Compatibility render mode
Using the Compatibility renderer results in wrapped albedo values if a custom shader returns albedo values outside the expected range of [0,1].

This commit fixed this issue by clamping the albedo value to [0,1] right after the custom shader is executed.

Fixes #91919
2024-06-13 13:32:28 +02:00
Rémi Verschelde be56cab58c
Merge pull request #92364 from bruvzg/rd_fix
Fix build with `vulkan=no` and `d3d12=no` after #91505.
2024-05-25 20:34:03 +02:00
bruvzg fc89a0c118
Fix build with vuklan=no and d3d12=no after #91505. 2024-05-25 21:08:50 +03:00
Rémi Verschelde b7feebefab
Merge pull request #92288 from smix8/navregion_debug
Fix NavigationRegion3D not reacting to runtime debug enabled change
2024-05-23 23:26:04 +02:00
Rémi Verschelde f25676cccf
Merge pull request #92284 from fire/vsk-bake-fps-4.3
Add `bake_fps` for FBXDocument, GLTFDocument and both import-export.
2024-05-23 23:26:01 +02:00
Rémi Verschelde bceebdf212
Merge pull request #92275 from ajreckof/fix-bounding-box-glitch-
Fix bounding box glitch
2024-05-23 23:25:57 +02:00
Rémi Verschelde 73fdc30783
Merge pull request #92272 from timothyqiu/add-to-end
Explain `add_to_end` parameter of `add_property_editor()`
2024-05-23 23:25:55 +02:00
Rémi Verschelde abfe8ba7d6
Merge pull request #92258 from DarioSamo/render_list_pass_alloc
Reduce allocations each time a render pass begins in RenderingDevice.
2024-05-23 23:25:51 +02:00
Rémi Verschelde 68c8e2eaf3
Merge pull request #92244 from jsjtxietian/blend-shape-shadow
Fix mesh instance not updated when changing blend shape values
2024-05-23 23:25:48 +02:00
Rémi Verschelde 4e3d77a873
Merge pull request #92231 from Calinou/editor-frametime-panel-prevent-width-flicker
Prevent label width from flickering rapidly in editor frametime panel
2024-05-23 23:25:45 +02:00
Rémi Verschelde dab6e1514f
Merge pull request #92207 from YeldhamDev/undo_theme_fix
Fix unchecking theme overrides not creating an undo action
2024-05-23 23:25:42 +02:00
Rémi Verschelde 0d52de617f
Merge pull request #92128 from ckaiser/log-rebuild-crash
Fix log rebuilding crashing when there's no messages
2024-05-23 23:25:39 +02:00
Rémi Verschelde 5d6c7893b3
Merge pull request #91505 from bruvzg/detect_comp
[DisplayServer] Add method to check if window transparency is supported and enabled.
2024-05-23 23:25:36 +02:00
Rémi Verschelde 7fd6eb3f4b
Merge pull request #75860 from dalexeev/optimize-find-named-color
Optimize `Color::find_named_color()`
2024-05-23 23:25:33 +02:00
Hugo Locurcio 60084dcc2c
Prevent label width from flickering rapidly in editor frametime panel
This also improves the background display by drawing a single background
for all 3 labels. This avoids visible corners between each label.
2024-05-23 20:50:25 +02:00
smix8 a545ba0bb7 Fix NavigationRegion3D not reacting to runtime debug enabled change
Fixes NavigationRegion3D not reacting when the main debug enabled property got changed as it only looked at the navigation mesh specific debug.
2024-05-23 20:01:47 +02:00
K. S. Ernest (iFire) Lee 24f56008ac Add bake_fps for FBXDocument, GLTFDocument and both import-export. 2024-05-23 09:09:36 -07:00
Dario ce4f19a034 Switch vectors in each render pass to use TLS. 2024-05-23 10:52:29 -03:00
bruvzg 628c81d2d9
[DisplayServer] Add method to check if window transparency is supported and enabled. 2024-05-23 15:23:18 +03:00
Danil Alexeev 49594d8c41
Optimize Color::find_named_color() 2024-05-23 15:19:19 +03:00
ajreckof 32e29cc24b Fix bounding box glitch 2024-05-23 11:18:59 +02:00
Rémi Verschelde b947c53ddc
Merge pull request #92253 from KoBeWi/hash_zeroth
Fix scene hash not updated when scene is empty
2024-05-23 08:59:26 +02:00
Rémi Verschelde 7870b28ed3
Merge pull request #92252 from poiati/fix-wayland-window-class
Properly set window class in Wayland
2024-05-23 08:59:23 +02:00
Rémi Verschelde 55af739d78
Merge pull request #92243 from bruvzg/popup_emb_change
Fix `PopupMenu` focus issues after `Viewport::set_embedding_subwindows` is changed.
2024-05-23 08:59:20 +02:00
Rémi Verschelde 01b804f8ac
Merge pull request #92242 from Daylily-Zeleen/daylily-zeleen/fix_ConfirmationDialog_doc
Fix confusing descriptions of ConfirmationDialog.
2024-05-23 08:59:17 +02:00
Rémi Verschelde 782a0261cb
Merge pull request #92196 from lyuma/gltf_anim_library_import_as_bones
Support Import As Skeleton Bones on glTF and AnimationLibrary import
2024-05-23 08:59:13 +02:00
Rémi Verschelde da979ecaca
Merge pull request #92134 from Calinou/editor-particles-restart-add-shortcut
Add Ctrl + R keyboard shortcut to restart particle emission in the editor
2024-05-23 08:59:10 +02:00
Rémi Verschelde de490253fe
Merge pull request #92124 from Repiteo/scons/platform-flags-dict
SCons: Convert platform `get_flags` to dictionary
2024-05-23 08:59:07 +02:00
Rémi Verschelde f2f6727984
Merge pull request #91863 from patwork/upgrade-to-eslint-9
[Web] Update to eslint 9
2024-05-23 08:59:04 +02:00
jsjtxietian 97af135f1b Fix mesh instance not updated when changing blend shape values 2024-05-23 12:36:31 +08:00
Haoyu Qiu 4def6b6fef Explain add_to_end parameter of add_property_editor() 2024-05-23 09:08:12 +08:00
Michael Alexsander e1798f4278
Fix unchecking theme overrides not creating an undo action 2024-05-22 21:24:31 -03:00
Thaddeus Crews 896b003cc8
SCons: Convert platform get_flags to dictionary 2024-05-22 13:53:20 -05:00
Hugo Locurcio 57f52092c3
Add Ctrl + R keyboard shortcut to restart particle emission in the editor
Restarting particle animation frequently is often done in the VFX
tweaking process.

This shortcut is available for both GPUParticles and CPUParticles,
in 2D and 3D.
2024-05-22 18:42:04 +02:00
Paulo Poiati a3769c0edc Properly set window class in Wayland 2024-05-22 10:42:12 -03:00
kobewi d276e8ba0b Fix scene hash not updated when scene is empty 2024-05-22 14:55:39 +02:00
patwork 1a89ae70eb Upgrade to eslint 9 2024-05-22 11:32:25 +02:00
bruvzg cb3ce85902
Fix PopupMenu focus issues after Viewport::set_embedding_subwindows is changed. 2024-05-22 11:17:43 +03:00
Rémi Verschelde 8e2141eac5
Merge pull request #92232 from clayjohn/RD-mobile-LOD
Only apply LOD when camera is outside the AABB of mesh in mobile renderer.
2024-05-22 09:27:03 +02:00
Rémi Verschelde 408228889f
Merge pull request #92223 from KoBeWi/do_people_really_copy_whole_shortcut_definitions_multiple_times_and_unironically_think_this_is_alright_🤔
Remove duplicate shortcut definitions
2024-05-22 09:27:00 +02:00
Rémi Verschelde 256f52f816
Merge pull request #92186 from BastiaanOlij/fix_stereo_omni_lights
Stereo rendering: Fix omni lights
2024-05-22 09:26:56 +02:00
Rémi Verschelde 4c96dcf6e0
Merge pull request #92179 from aaronp64/image_import_memory
Improve memory usage for image import and `PortableCompressedTexture2D`
2024-05-22 09:26:53 +02:00
Rémi Verschelde c4a899f924
Merge pull request #91087 from lmyers421/91009-project-settings-window-too-small
Increase width of project settings window.
2024-05-22 09:26:49 +02:00
Rémi Verschelde 381ce56f8a
Merge pull request #90770 from kitbdev/show-version
Display Godot version and last edited timestamp in project manager
2024-05-22 09:26:47 +02:00
Rémi Verschelde c40c89f94c
Merge pull request #90457 from Chubercik/ruff-formatter
Replace `black` formatter with `ruff`
2024-05-22 09:26:42 +02:00
Rémi Verschelde e34b97312e
Merge pull request #89630 from jsjtxietian/pick-color
Make "Pick Color"'s result less precise, keep only 3 decimals
2024-05-22 09:26:37 +02:00
Daylily-Zeleen f523d4f16f Fix confusing descriptions of ConfirmationDialog's description. 2024-05-22 15:05:56 +08:00
lmyers421 dfc9976c6f
Increase width of project settings window
Fixes #91009.
2024-05-22 08:41:39 +02:00
clayjohn c5346a62b0 Only apply LOD when camera is outside the AABB of mesh in mobile renderer.
This copies the existing logic from the Forward+ renderer
2024-05-21 18:32:04 -07:00
Bastiaan Olij db32707bb2 Stereo rendering: Fix omni lights 2024-05-22 10:09:31 +10:00