Commit Graph

26983 Commits

Author SHA1 Message Date
Juan Linietsky b859e69919 -Refactored post processing, re-added glow and added a mix blend mode. 2020-02-11 12:14:21 +01:00
Rémi Verschelde de0d834a4d Merge pull request #34762 from clayjohn/vulkan
Fix Specular Blinn in vulkan
2020-02-11 12:10:50 +01:00
clayjohn e530f49be2 Fix Specular Blinn in vulkan 2020-02-11 12:10:36 +01:00
Rémi Verschelde 6310354cde Vulkan: Fix false positive in ninepatch axis stretch code
Adapted from e4907e50fe,
supersedes and closes #34704.
2020-02-11 12:09:55 +01:00
Rémi Verschelde e241057a98 Merge pull request #34487 from supagu/instance_mesh_colours_fix
Fixed error condition check for multimesh instance colors
2020-02-11 12:07:14 +01:00
Fabian Mathews ba6d9597cb Fixed error condition check for multimesh instance colors 2020-02-11 12:07:03 +01:00
Rémi Verschelde 2db8f40bd7 Merge pull request #34307 from bruvzg/macos_rebase_fixes
[Vulkan] Restore parts of #33783 and #32809 missing after rebase.
2020-02-11 12:06:31 +01:00
bruvzg 0ce4433686 Restore parts of #33783 and #32809 missing after rebase. 2020-02-11 12:06:30 +01:00
Rémi Verschelde 4cac20aea3 Fix crash after rebase on the master branch
Apparently rasterizer is not initialized yet when this is called
the first time, so it crashes.
2020-02-11 12:06:20 +01:00
Rémi Verschelde 4696cd07b6 Merge pull request #33631 from MatiasPi/pr_shader_variable_change
Changed variable name in shader because it was too generic
2020-02-11 12:06:11 +01:00
Matias Pierdomenico 0e20e349f1 Changed variable name in shader because it was too generic 2020-02-11 12:06:05 +01:00
Rémi Verschelde cc674a5cda Merge pull request #33386 from Chaosus/vk_fix_texture_preview
[Vulkan] Adds repeat flag to texture preview checkerboard background
2020-02-11 12:05:47 +01:00
Yuri Roubinsky 171691aad9 [Vulkan] Add repeat flag to texture preview checkerboard background 2020-02-11 12:05:43 +01:00
Rémi Verschelde bb9b9b03c4 Merge pull request #33385 from bruvzg/loader_1_1_127
Update Vulkan loader to 1.1.127
2020-02-11 12:05:31 +01:00
bruvzg 7bf72ed14e Update Vulkan loader to 1.1.127 2020-02-11 12:05:27 +01:00
Rémi Verschelde 7f430b03a7 Merge pull request #33359 from akien-mga/vulkan
Fix code formatting issues and VS compilation
2020-02-11 12:05:24 +01:00
Rémi Verschelde fff4240bb4 Fix code formatting issues and VS compilation
Also temporarily disable multicheck build so that we get a full build
even when there are style issues on Vulkan.

Fixes #33356.
2020-02-11 12:05:19 +01:00
Juan Linietsky b509c814fc Improved Voxel AO settings. 2020-02-11 12:05:05 +01:00
Juan Linietsky 4949d578f2 Dynamic objects in GIProbes are now affected by propagation parameter. 2020-02-11 12:05:05 +01:00
Juan Linietsky d6e4b45994 More correctly divide alpha by 8 for mipmaps, fixes voxel overocclusion. 2020-02-11 12:05:04 +01:00
Juan Linietsky f4c5e88ef2 Fix to category in material. 2020-02-11 12:05:04 +01:00
Juan Linietsky 8deb977551 Changed SDF processing to smooth out shadows. 2020-02-11 12:05:03 +01:00
Juan Linietsky da0457fa29 Several fixes to GIProbes 2020-02-11 12:04:56 +01:00
Juan Linietsky 971ce680f2 Fixes to how anisotropy is handled, makes it work on nvidia. 2020-02-11 12:04:56 +01:00
Juan Linietsky f4948721e4 Fixed uninitialized memory bug in voxelizer 2020-02-11 12:04:54 +01:00
Juan Linietsky 2af701fa03 Use a different strategy to get textures from GPU (via buffers), for more compatibility. 2020-02-11 12:04:54 +01:00
Rémi Verschelde a60edae506 Merge pull request #32950 from RandomShaper/fix_rid_alloc
Fix bugs in `RID_Alloc`
2020-02-11 12:04:42 +01:00
Pedro J. Estébanez e38ae8d7e4 Fix bugs in `RID_Alloc`
- Replace unintended `%` with `&`
- `get_owned_list()`: make thread-safe and fix logic
- Apply same logic fix to the destructor

Previously, the determination of owned RIDs was wrong. For instance, it could skip owned items or include duplicates in the list.

Avoids the engine crashing at exit.
2020-02-11 12:04:41 +01:00
Rémi Verschelde f3f446ac75 Merge pull request #32914 from RandomShaper/fix_template_compile
Fix export template compilation
2020-02-11 12:04:36 +01:00
Pedro J. Estébanez 19e294e29b Fix export template compilation 2020-02-11 12:04:31 +01:00
Rémi Verschelde a8e14bee58 Merge pull request #32821 from bruvzg/vlk_fix_macos_exit
[Vulkan, macOS] Fix RID leaks and crashes on exit.
2020-02-11 12:04:20 +01:00
bruvzg a85923b972 Move Vulkan context/rendering_device destruction to windowWillClose notification. 2020-02-11 12:04:16 +01:00
Rémi Verschelde d10406a59a Merge pull request #32818 from bruvzg/vlk_fix_hidpi_and_resize
[Vulkan, macOS] Improve HiDPI handling, fix incorrect window viewport clipping.
2020-02-11 12:04:08 +01:00
bruvzg d5df1b651c Improve HiDPI handling, fix incorrect window viewport clipping. 2020-02-11 12:04:04 +01:00
Juan Linietsky 2c67cc654f AO support for GIProbe (right on time for Godot Sprint!) 2020-02-11 12:03:55 +01:00
Juan Linietsky 76c6f39d99 GIProbe now generates a distance field on bake using CPU, for better compatibility 2020-02-11 12:03:54 +01:00
Juan Linietsky 561b431d85 Dynamic object support for GI Probes (a bit buggy still) 2020-02-11 12:03:52 +01:00
Juan Linietsky a95fb114ba Fixed 2D and 3D CPU Particles 2020-02-11 12:03:50 +01:00
Juan Linietsky 6ee2f5e6b6 More GIProbe work and fixes 2020-02-11 12:03:49 +01:00
Rémi Verschelde 6075c5f9bf Merge pull request #32560 from bruvzg/vlk_v3_fix
[Vulkan] Fix Vector3 ambiguities and out of bounds init.
2020-02-11 12:03:44 +01:00
bruvzg 26318f3bd1 Fix Vector3 ambiguities and out of bounds init. 2020-02-11 12:03:39 +01:00
Juan Linietsky fb739f9da7 Fixed display menu visualizations. 2020-02-11 12:03:24 +01:00
Juan Linietsky 965185c765 Better GIProbe quality settings. 2020-02-11 12:03:23 +01:00
Juan Linietsky fa548b052e Missing proper comparison for depth pre-pass. 2020-02-11 12:03:21 +01:00
Juan Linietsky acf0f6c8a7 GIProbes working. 2020-02-11 12:03:20 +01:00
Rémi Verschelde 52f96abd8b Merge pull request #32389 from akien-mga/vulkan
Better format generated shader headers
2020-02-11 12:03:11 +01:00
Rémi Verschelde 3695c08782 basis_universal: Use proper basisu_transcoder.h header, fixes Clang build
Also renames bu to basisu to be more explicit and match upstream name.
2020-02-11 12:03:07 +01:00
Rémi Verschelde af6a3a419a Better format generated shader headers 2020-02-11 12:03:05 +01:00
Juan Linietsky d5cf1a872b Fixes to Basis Universal. 2020-02-11 12:02:59 +01:00
Rémi Verschelde 339cab7b53 Merge pull request #32385 from akien-mga/vulkan_basis
Vulkan: Fixes to bundled basis_universal and glslang
2020-02-11 12:02:54 +01:00