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
4384cca257
Fix to category in material.
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
4f1275ab36
Fixed uninitialized memory bug in voxelizer
2019-12-12 17:11:11 +01:00
Pedro J. Estébanez
4fb15d8061
Fix export template compilation
2019-12-12 17:10:53 +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
f40012574a
GIProbe now generates a distance field on bake using CPU, for better compatibility
2019-12-12 17:10:16 +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
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
Juan Linietsky
3b2f85ccbb
Fixed display menu visualizations.
2019-12-12 17:09:48 +01:00
Juan Linietsky
307f84b43a
GIProbes working.
2019-12-12 17:09:36 +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
Yuri Roubinsky
783e33cc01
[Vulkan] Fix typo in shading modes
2019-12-12 17:08:51 +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
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
Juan Linietsky
dd875c2c3c
Directional lights and shadow mapping are functional.
2019-12-12 17:07:49 +01:00
Juan Linietsky
5f6ed2349c
Rewrote large part of rendering, omni and spot shadows now work.
2019-12-12 17:07:48 +01:00
Juan Linietsky
7db3532b2e
Environment sky more or less working.
2019-12-12 17:07:47 +01:00
Juan Linietsky
75299f4a63
Base 3D engine done, still untested, though.
2019-12-12 17:06:38 +01:00
Juan Linietsky
112c4c546c
Vulkan/RD rasterizer now does clean exit.
2019-12-12 17:05:11 +01:00
bruvzg
142188639c
Add static Vulkan loader.
...
Initial Vulkan support for Windows.
Initial Vulkan support for macOS.
2019-12-12 13:19:45 +01:00
Juan Linietsky
55426a3ab4
Completed material/2D shader support (missing SCREEN_TEXTURE)
2019-12-12 12:21:24 +01:00
Juan Linietsky
1dd402d083
Changes to material required to add custom shaders in RD renderer
2019-12-12 12:01:50 +01:00
Juan Linietsky
7c2bb1ceff
Modified light rendering to make it more compatible.
...
Modified polygon management to make it more compatible with MoltenVK
2019-12-12 12:01:48 +01:00
Juan Linietsky
2e9c7ce62e
2D lighting seems more or less complete.
2019-12-12 11:49:19 +01:00
Juan Linietsky
75701f756f
Normalmapping and Specularmapping working in 2D engine
...
Added support for Sprite, AnimatedSprite and Polygon2D (should add for tileset eventually).
2019-12-12 11:49:14 +01:00
Juan Linietsky
667785e474
Bugfixes and ability to better specify filter and repeat modes everywhere.
...
Removes antialiased flag for draw_* methods.
2019-12-12 11:33:08 +01:00
Juan Linietsky
017bcf9be4
basic 2D engine is more or less working with Vulkan, including editor.
...
Still a lot to do
2019-12-12 11:06:23 +01:00
Juan Linietsky
179145aaf5
Basic 2D engine is more or less working, needs more work for editor to be usable.
2019-12-12 10:57:32 +01:00
Juan Linietsky
e2ffdb2d01
A lot of progress with canvas rendering, still far from working.
2019-12-12 10:50:00 +01:00
Juan Linietsky
d4d470bc97
Texture refactor
...
-Texture renamed to Texture2D
-TextureLayered as base now inherits 2Darray, cubemap and cubemap array
-Removed all references to flags in textures (they will go in the shader)
-Texture3D gone for now (will come back later done properly)
-Create base rasterizer for RenderDevice, RasterizerRD
2019-12-12 10:05:14 +01:00
Juan Linietsky
962382ac5c
Refactored RID/RID_Owner to always use O(1) allocation.
...
* Implements a growing chunked allocator
* Removed redudant methods get and getptr, only getornull is supported now.
2019-12-12 08:55:15 +01:00
Rémi Verschelde
37d164e24e
CharFXTransform: Drop unnecessary get_value_or()
...
See https://github.com/godotengine/godot/pull/23658#issuecomment-562706669
The method was implemented back when Dictionary.get(key, default) did not
exist, but now that it does we do not need a custom method in CharFXTransform.
It's a new feature in 3.2, so does not break compat with 3.1.x.
2019-12-12 07:47:08 +01:00
Rémi Verschelde
30cf60bb89
Merge pull request #34259 from timothyqiu/validate-texture-32982
...
Fixes crash after set_piece_texture with invalid texture
2019-12-11 08:41:29 +01:00
Rémi Verschelde
ea865d0e7e
Merge pull request #34241 from timothyqiu/sync-fallbacks-size-32701
...
Fixes crash when using DynamicFont::set_font_data
2019-12-11 08:34:21 +01:00
Rémi Verschelde
74381c380b
Merge pull request #34240 from timothyqiu/invalid-shader-io-29985
...
Fixes crash when shader inputs/outputs is invalid string
2019-12-11 08:33:54 +01:00
Haoyu Qiu
5586103a94
Validates texture in set_piece_texture
2019-12-11 11:24:42 +08:00
Haoyu Qiu
5deb6497a1
Fixes crash when using DynamicFont::set_font_data
2019-12-10 21:26:42 +08:00
Haoyu Qiu
024c25426b
Fixes crash when shader inputs/outputs is invalid string
2019-12-10 17:04:18 +08:00
Haoyu Qiu
c29b8cf751
Fixes crash when using Theme::clear
2019-12-10 16:31:40 +08:00
Rémi Verschelde
2845e6a21a
Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers
...
Removed unused variables, add some constants numbers
2019-12-10 08:25:31 +01:00
Rafał Mikrut
ed1c4bc77d
Removed unused variables, add some constants numbers
2019-12-10 05:13:02 +01:00
Tomasz Chabora
6e1dc7b2fe
Update minimum size of SpinBox on theme change
2019-12-10 02:11:22 +01:00
Rémi Verschelde
d7b2940eb6
Merge pull request #34203 from bruvzg/ime_placeholder
...
Hide LineEdit placeholder if IME composition string is not empty.
2019-12-09 09:09:42 +01:00
allkhor
2c559feb92
Fixed strange behaviour of scroll in the ItemList.
2019-12-09 01:54:10 +06:00