jfons
e69d762dd0
Add color pass flags to Forward Clustered renderer
...
This commit removes a lot of enum values related to the color render pass in favor of a new flag-bases approach. This means instead of hard-coding all the possible option combinations into enums, we can write our logic by checking a bit-mask.
The changes in rendering_device_vulkan.cpp add support for unused attachments. That means RenderingDeviceVulkan::framebuffer_create() can take null RIDs in the attachments vector, which will result in VK_ATTACHMENT_UNUSED entries in the render pass.
This is used in this same PR to establish fixed locations for the color pass attachments (only color and separate specular so far, but TAA will add motion vectors as well). This way the attachment locations in the shader can stay the same regardless of which attachments are actually used.
Right now all the combinations of flags are generated, but we will need to add a way to limit the amount of combinations in the future.
2022-04-01 12:12:49 +02:00
Rémi Verschelde
4263f02f28
Merge pull request #59764 from reduz/blender-import-autodetect
2022-04-01 11:42:05 +02:00
reduz
e32215fbad
Add Blender install autodetection and configuration.
...
This PR is a continuation to #54886
* Changed Blender path editor setting from binary to installation.
* Add a class to query whether the format is supported.
* This class allows to create proper editors to configure support.
**NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2022-04-01 11:01:12 +02:00
Casper Beyer
d3dde0727c
Normalize thirdparty readme formatting
2022-04-01 15:26:17 +08:00
Rémi Verschelde
f3fe2631da
Merge pull request #59771 from timothyqiu/i18n-theme-props
...
Extract theme property names for localization
2022-04-01 08:44:11 +02:00
Rémi Verschelde
0e8caf1a4e
Merge pull request #59769 from fire-forge/fastnoise-group-name
...
Fix group names in FastNoise and Gradient
2022-04-01 08:37:53 +02:00
Yuri Roubinsky
d47035a6fb
Fix shader crashing when attempting to access length()
at global space
2022-04-01 08:39:29 +03:00
Haoyu Qiu
2f20ff0ed6
Extract theme property names for localization
2022-04-01 11:35:22 +08:00
FireForge
60dfe76e1f
Fix group name in FastNoise and Gradient
2022-03-31 21:21:04 -05:00
Rémi Verschelde
340ad7d748
Merge pull request #59755 from V-Sekai/import-gltf-mat-placeholder
2022-04-01 01:12:16 +02:00
Rémi Verschelde
0898f04e4e
Merge pull request #59768 from ConteZero/window_unmaximize_master
2022-03-31 23:57:13 +02:00
ConteZero
2eb36b8bdb
Fix X11 is_window_maximized
2022-03-31 23:21:32 +02:00
Rémi Verschelde
142a039f43
Merge pull request #59712 from Calinou/doc-canvasitem-top-level
2022-03-31 23:18:54 +02:00
Rémi Verschelde
1358efde1f
Merge pull request #59709 from Sauermann/fix-dragndrop-subviewport-transform
2022-03-31 22:31:59 +02:00
Rémi Verschelde
af7a4c4672
Merge pull request #59762 from YeldhamDev/tabc_fixes
2022-03-31 22:28:13 +02:00
Rémi Verschelde
8e5d927af5
Merge pull request #59590 from Calinou/rename-print-stray-nodes
2022-03-31 22:21:51 +02:00
Rémi Verschelde
47d58b5a97
Merge pull request #59753 from V-Sekai/let-there-be-light
2022-03-31 22:21:23 +02:00
Michael Alexsander
b8ce726dd0
Small fixes for TabContainer
2022-03-31 16:43:09 -03:00
nova++
05718796db
Fixing some of my own typos...
...
(and a little improvement to wording that was bugging me)
2022-03-31 14:20:37 -04:00
Rémi Verschelde
155a94fabe
Merge pull request #59385 from BastiaanOlij/extract_shader_storage
2022-03-31 19:19:03 +02:00
K. S. Ernest (iFire) Lee
d8b3d14d82
Add support for Blend importing of material placeholders.
...
Couldn't get the 'NONE' option to work.
2022-03-31 10:11:06 -07:00
Rémi Verschelde
44b2962f4f
Merge pull request #59750 from KoBeWi/commit_farm_seems_still_functional_ 🤔
2022-03-31 18:48:22 +02:00
Rémi Verschelde
1ed978574e
Merge pull request #59747 from bruvzg/clang_san_fixes
2022-03-31 18:47:49 +02:00
Rémi Verschelde
3aa32ef4b0
Merge pull request #59737 from Sauermann/fix-physics-ignoring-canvas-transform
2022-03-31 18:34:24 +02:00
K. S. Ernest (iFire) Lee
b675a6b9de
Allow importing punctual lights from Blend.
2022-03-31 09:34:12 -07:00
Hugo Locurcio
a29f2bfe54
Rename Node.print_stray_nodes()
to Node.print_orphan_nodes()
...
The "orphan" terminology is already used elsewhere.
2022-03-31 18:33:02 +02:00
kobewi
004ced89aa
Fix name of the created static trimesh body
2022-03-31 18:02:18 +02:00
bruvzg
947d7c8329
Fix some issues found by clang sanitizers.
2022-03-31 18:35:56 +03:00
Rémi Verschelde
c5f9424fbd
Merge pull request #59740 from bruvzg/brotli_san
2022-03-31 17:32:24 +02:00
bruvzg
4d9689e7f6
[Brotli] Use aligned reads when building with sanitizers.
2022-03-31 18:00:49 +03:00
Rémi Verschelde
fda87d4a89
Merge pull request #59735 from akien-mga/zlib-1.2.12
2022-03-31 16:17:35 +02:00
Markus Sauermann
5521b93750
Fix that collision objects ignore canvas transform
...
This aligns collision areas with visual areas within a viewport
2022-03-31 16:07:05 +02:00
Rémi Verschelde
b0df742cbe
Re-add some needed patterns to .gitignore
2022-03-31 15:37:54 +02:00
Rémi Verschelde
368fb62a22
Merge pull request #59728 from timothyqiu/clip-key
2022-03-31 15:33:40 +02:00
Rémi Verschelde
420d0d50bc
zlib/minizip: Update to version 1.2.12
...
Security update, fixes CVE-2018-25032 in zlib.
Preliminary assessment doesn't show Godot as affected since we don't
seem to call `deflate` with the problematic parameters, but the extent
of the vulnerability is not fully clear upstream yet.
2022-03-31 15:19:11 +02:00
Rémi Verschelde
a647fb3e62
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Fix a couple incorrect uses of gendered pronouns.
2022-03-31 14:07:29 +02:00
Rémi Verschelde
0d15f6344b
Merge pull request #59726 from bruvzg/gde_icu_suffix
2022-03-31 13:44:24 +02:00
Rémi Verschelde
e17ce39d59
Merge pull request #59725 from bruvzg/hb_420
2022-03-31 13:44:16 +02:00
Bastiaan Olij
36defd1179
Extract global variable, shader and material storage
2022-03-31 21:49:42 +11:00
Haoyu Qiu
c7e06e2202
Clip animation track keyframe rects
2022-03-31 18:39:04 +08:00
bruvzg
824927dc50
[ICU] Add library name suffix for API rename to avoid conflicts (GDExtension build).
2022-03-31 13:04:54 +03:00
bruvzg
56544d8013
HarfBuzz: Update to version 4.2.0
2022-03-31 13:03:43 +03:00
Rémi Verschelde
fc4e9d6299
Merge pull request #59702 from Sauermann/fix-subviewport-container-event-transform
...
Fix event transform in SubViewportContainer
2022-03-31 11:07:21 +02:00
Rémi Verschelde
755e28e888
Merge pull request #59706 from Sauermann/fix-control-warp-mouse-canvas-transform
...
Fix Control::warp_mouse to respect canvas transform
2022-03-31 11:06:55 +02:00
Hugo Locurcio
f049c7ed06
Clarify what top_level
does in CanvasItem
2022-03-31 02:04:55 +02:00
Markus Sauermann
529e2279e1
Fix Drag n Drop Transform in main embedding window
2022-03-31 00:43:52 +02:00
Rémi Verschelde
b7850bb1e8
Merge pull request #58395 from Geometror/editor-node-data-cleanup
2022-03-30 23:41:36 +02:00
Rémi Verschelde
021cbe8b8f
Merge pull request #59701 from Calinou/doc-array-operators
2022-03-30 23:21:08 +02:00
Markus Sauermann
0472839509
Fix Control::warp_mouse to respect canvas transform
2022-03-30 23:18:23 +02:00
Markus Sauermann
c8573ea3df
Fix event transform in SubViewportContainer
...
The transform does not take the canvas transform into account.
2022-03-30 20:56:36 +02:00