summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2022-02-10Default to real-time radiance map filter for environment sky reflectionsHugo Locurcio
This makes radiance map updates much faster, which improves performance when rotating the sun in the editor or at run-time. This real-time filter is also much less prone to "fireflies" that can appear when using a sky with a bright sun.
2022-02-10Merge pull request #57873 from markdibarry/add_get_content_width_RichTextLabelRémi Verschelde
2022-02-10Merge pull request #39965 from Calinou/tweak-sdfgi-defaultsRémi Verschelde
2022-02-10Merge pull request #57707 from Calinou/sdfgi-tweak-default-num-cascadesRémi Verschelde
2022-02-10Add get_content_width methodmarkdibarry
Adds a get_content_width method to RichTextLabel
2022-02-10Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Added `misc/scripts/codespell.sh` to make it easier to run it once in a while and update the skip and ignore lists.
2022-02-09Merge pull request #57876 from Faless/mp/4.x_clarify_rpc_errorFabio Alessandrelli
[Net] Clarify RPC error when method is missing.
2022-02-09Merge pull request #57715 from Faless/debugger/4.x_core_includes_and_serversRémi Verschelde
[Debugger] Move most profilers to ServersDebugger, fix core includes.
2022-02-09[Net] Clarify RPC error when method is missing.Fabio Alessandrelli
2022-02-09[Net] Allow to use strings as method name in RPC.Fabio Alessandrelli
Node::rpc and Node::rpc_id will now also accepts Strings instead of only accepting StringNames.
2022-02-09Merge pull request #57810 from timothyqiu/tree-button-idRémi Verschelde
2022-02-09Merge pull request #57837 from YeldhamDev/that_was_pointlessRémi Verschelde
2022-02-09Remove code to update the layout direction of submenus from `PopupMenu`Michael Alexsander
2022-02-09Merge pull request #57832 from Sauermann/fix-id-creationRémi Verschelde
2022-02-09Merge pull request #57813 from MisoMosiSpy/disabled_iconsRémi Verschelde
2022-02-09Adjust id creation in PopupMenu to avoid duplicate idsMarkus Sauermann
2022-02-09Updated alpha value for disabled icons in default theme.MisoMosiSpy
2022-02-08Merge pull request #57627 from JFonS/occluder_improvementsRémi Verschelde
2022-02-08Merge pull request #57773 from pfertyk/issue_57710_tabbar_update_hoverRémi Verschelde
2022-02-08Merge pull request #57819 from Jojox/fix_padded_texture_formatRémi Verschelde
2022-02-08Fix `TabBar._update_hover` crashPaweł Fertyk
Fixes #57710.
2022-02-08Use source image format when creating padded textureJoJoX
2022-02-08Add array element type to `_get_polygons` and `_get_outlines`Raul Santos
2022-02-08Improve TreeItem button APIHaoyu Qiu
2022-02-08Merge pull request #57692 from YeldhamDev/popping_optionsRémi Verschelde
2022-02-08Merge pull request #40140 from hinlopen/tree-scroll-centerRémi Verschelde
2022-02-08Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde
2022-02-08Merge pull request #57720 from akien-mga/prefer-cast-to-get_class-string-compareRémi Verschelde
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
2022-02-08Refactor some object type checking code with `cast_to`Rémi Verschelde
Less stringly typed logic, and less String allocations and comparisons.
2022-02-08Fix RayCast{2,3}D.clear_exceptions clears parentHaoyu Qiu
2022-02-07Fix theming for floating window docksMichael Alexsander
2022-02-07Improvements and fixes to occludersjfons
Improvements: * Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D, BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old Occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders. * Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default. * Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window. Fixes: * Fixed saving of occluder files after bake. * Fixed a small error where occluders didn't correctly update in the rendering server. Bonus content: * Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders. * Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.
2022-02-07Merge pull request #57741 from Chaosus/vs_fixesRémi Verschelde
2022-02-07Merge pull request #57725 from jmb462/missing-sname-theme-settersRémi Verschelde
2022-02-07Merge pull request #57684 from KoBeWi/todo_optimizeRémi Verschelde
2022-02-07Add some more fixes to visual shaderYuri Roubinsky
2022-02-06Make popups from `MenuButton`, `OptionButton`, and submenus obey the layout ↵Michael Alexsander
direction
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-06Merge pull request #57716 from Chaosus/vs_vector_3dRémi Verschelde
Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D` in visual shaders
2022-02-06Merge pull request #57721 from YeldhamDev/separate_from_separatorsRémi Verschelde
Better handle icons and checkboxes with separators in `PopupMenu`
2022-02-06Better handle icons and checkboxes with separators in `PopupMenu`Michael Alexsander
2022-02-06Enhancements and fixes for `OptionButton` and `PopupMenu`Michael Alexsander
2022-02-06Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D`Yuri Roubinsky
2022-02-06[Debugger] Move most profilers to ServersDebugger.Fabio Alessandrelli
Also splits bandwidth/rpc profiler (RPCProfiler is now in SceneDebugger).
2022-02-06Add missing SNAME macro optimization in some function callsjmb462
2022-02-06Tweak default SDFGI settings for better qualityHugo Locurcio
- Enable Read Sky Light to get proper outdoors lighting out of the box. - Set bounce feedback to 0.5 by default to get a better quality result. - Higher values may cause infinite feedback with bright surfaces. - Increase the number of frames to converge to improve quality at the cost of latency. Most scenes are fairly static after all. - Use 75% Y scale by default as most scenes are not highly vertical. - Reorder the Y scale enum to go from the lowest Y scale to the highest. Also rename the "Disabled" setting to "100%" for clarity.
2022-02-06Decrease the default number of SDFGI cascades to 4Hugo Locurcio
This improves rendering performance noticeably, especially when the camera moves fast. On a medium-sized test scene on a GTX 1080 in 2560×1440, going from 6 to cascades saves 0.5 ms of frame time while looking visually identical (as most of the scene fits within the 4 cascades).
2022-02-06Rework CanvasItem visibility propagationkobewi
2022-02-05Merge pull request #57646 from Faless/mp/4.x_interfacesRémi Verschelde
[Net] Move RPC, Node cache out of MultiplayerAPI.