Rémi Verschelde
1bad89b90d
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 .
2019-12-12 17:11:29 +01:00
Juan Linietsky
4b2351f341
Improved Voxel AO settings.
2019-12-12 17:11:20 +01:00
Juan Linietsky
017c944159
Dynamic objects in GIProbes are now affected by propagation parameter.
2019-12-12 17:11:19 +01:00
Juan Linietsky
d4cb4308fa
More correctly divide alpha by 8 for mipmaps, fixes voxel overocclusion.
2019-12-12 17:11:17 +01:00
Juan Linietsky
4384cca257
Fix to category in material.
2019-12-12 17:11:16 +01:00
Juan Linietsky
583538bb90
Changed SDF processing to smooth out shadows.
2019-12-12 17:11:16 +01:00
Juan Linietsky
144d034dec
Several fixes to GIProbes
2019-12-12 17:11:13 +01:00
Juan Linietsky
e283b517ff
Fixes to how anisotropy is handled, makes it work on nvidia.
2019-12-12 17:11:12 +01:00
Juan Linietsky
4f1275ab36
Fixed uninitialized memory bug in voxelizer
2019-12-12 17:11:11 +01:00
Juan Linietsky
2999811c63
Use a different strategy to get textures from GPU (via buffers), for more compatibility.
2019-12-12 17:11:09 +01:00
Rémi Verschelde
86d1b9414b
Merge pull request #32950 from RandomShaper/fix_rid_alloc
...
Fix bugs in `RID_Alloc`
2019-12-12 17:11:02 +01:00
Pedro J. Estébanez
0b30cfe228
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.
2019-12-12 17:11:01 +01:00
Rémi Verschelde
4a625d0c32
Merge pull request #32914 from RandomShaper/fix_template_compile
...
Fix export template compilation
2019-12-12 17:11:00 +01:00
Pedro J. Estébanez
4fb15d8061
Fix export template compilation
2019-12-12 17:10:53 +01:00
Rémi Verschelde
1cfefe871c
Merge pull request #32821 from bruvzg/vlk_fix_macos_exit
...
[Vulkan, macOS] Fix RID leaks and crashes on exit.
2019-12-12 17:10:31 +01:00
bruvzg
64dc006b41
Move Vulkan context/rendering_device destruction to windowWillClose notification.
2019-12-12 17:10:30 +01:00
Rémi Verschelde
815f09ef76
Merge pull request #32818 from bruvzg/vlk_fix_hidpi_and_resize
...
[Vulkan, macOS] Improve HiDPI handling, fix incorrect window viewport clipping.
2019-12-12 17:10:29 +01:00
bruvzg
f9de050216
Improve HiDPI handling, fix incorrect window viewport clipping.
2019-12-12 17:10:27 +01:00
Juan Linietsky
6d8bf4f80d
AO support for GIProbe (right on time for Godot Sprint!)
2019-12-12 17:10:19 +01:00
Juan Linietsky
7cfa9396d4
Dynamic object support for GI Probes (a bit buggy still)
2019-12-12 17:10:16 +01:00
Juan Linietsky
f40012574a
GIProbe now generates a distance field on bake using CPU, for better compatibility
2019-12-12 17:10:16 +01:00
Juan Linietsky
c0f4a5ab36
Fixed 2D and 3D CPU Particles
2019-12-12 17:10:15 +01:00
Juan Linietsky
871311d337
More GIProbe work and fixes
2019-12-12 17:10:15 +01:00
Rémi Verschelde
dcb1f2babd
Merge pull request #32560 from bruvzg/vlk_v3_fix
...
[Vulkan] Fix Vector3 ambiguities and out of bounds init.
2019-12-12 17:10:07 +01:00
bruvzg
4a2b97dffa
Fix Vector3 ambiguities and out of bounds init.
2019-12-12 17:10:05 +01:00
Juan Linietsky
3b2f85ccbb
Fixed display menu visualizations.
2019-12-12 17:09:48 +01:00
Juan Linietsky
afb3e744c6
Better GIProbe quality settings.
2019-12-12 17:09:46 +01:00
Juan Linietsky
c530709204
Missing proper comparison for depth pre-pass.
2019-12-12 17:09:45 +01:00
Juan Linietsky
307f84b43a
GIProbes working.
2019-12-12 17:09:36 +01:00
Rémi Verschelde
a6f2e12a7c
Merge pull request #32389 from akien-mga/vulkan
...
Better format generated shader headers
2019-12-12 17:09:31 +01:00
Rémi Verschelde
5f13f7f135
basis_universal: Use proper basisu_transcoder.h header, fixes Clang build
...
Also renames bu to basisu to be more explicit and match upstream name.
2019-12-12 17:09:30 +01:00
Rémi Verschelde
ce99fe9065
Better format generated shader headers
2019-12-12 17:09:29 +01:00
Juan Linietsky
ba7d833a93
Fixes to Basis Universal.
2019-12-12 17:09:22 +01:00
Rémi Verschelde
e4072936d5
Merge pull request #32385 from akien-mga/vulkan_basis
...
Vulkan: Fixes to bundled basis_universal and glslang
2019-12-12 17:09:15 +01:00
Rémi Verschelde
453f0bfac1
glslang: Disable warnings and allow unbundling
2019-12-12 17:09:14 +01:00
Rémi Verschelde
7d7b486e7d
basis_universal: Fix py3 build and document license and provenance
...
Also drop unneeded files.
Fix build with MinGW. Closes #32384 .
2019-12-12 17:09:11 +01:00
Juan Linietsky
514236a97c
Rewritten StreamTexture for better code reuse, added basis universal support
2019-12-12 17:09:05 +01:00
Juan Linietsky
a345f50c8b
Untested support for compute shaders
2019-12-12 17:09:04 +01:00
Rémi Verschelde
bda57a38bd
Merge pull request #32298 from Chaosus/vk_fix_typo
...
[Vulkan] Fix typo in shading modes
2019-12-12 17:08:53 +01:00
Yuri Roubinsky
783e33cc01
[Vulkan] Fix typo in shading modes
2019-12-12 17:08:51 +01:00
Juan Linietsky
cd72b19320
Skeletons are now working.
2019-12-12 17:08:50 +01:00
Rémi Verschelde
aeb155ce99
Merge pull request #32281 from Chaosus/vk_shader_array_varying2
...
[Vulkan] Implement shader array support for varyings
2019-12-12 17:08:39 +01:00
Yuri Roubinsky
e3938a09dd
[Vulkan] Implement shader array support for varyings
...
Remake of #32175
2019-12-12 17:08:38 +01:00
Rémi Verschelde
efa8d6b1d0
Merge pull request #32280 from Chaosus/vk_shader_switch2
...
[Vulkan] Implements switch flow control operator in shaders
2019-12-12 17:08:37 +01:00
Yuri Roubinsky
4d8411acc6
[Vulkan] Implements switch flow control operator in shaders
2019-12-12 17:08:26 +01:00
Juan Linietsky
ccaf7d5c35
Properly working instancing, and compatibility fixing for old meshes
2019-12-12 17:08:06 +01:00
Juan Linietsky
a0a7732aec
Visual GPU profiler and related profiling support in Vulkan.
2019-12-12 17:08:05 +01:00
Juan Linietsky
3f6b9c8611
Proper texture reloading (was broken).
2019-12-12 17:08:03 +01:00
Juan Linietsky
8501b37b8f
Modernized default 3D material, fixes material bugs.
2019-12-12 17:08:02 +01:00
Juan Linietsky
7919ef863b
Several fixes to 3D rendering, and multimesh implementation.
2019-12-12 17:08:00 +01:00