Commit Graph

32479 Commits

Author SHA1 Message Date
Juan Linietsky
f7b814f943
Merge pull request #45452 from reduz/implement-shadow-meshes
Implement shadow meshes
2021-01-25 15:30:04 -03:00
reduz
51d8e32c93 Implement shadow meshes
-When importing, a vertex-only version of the mesh is created.
-This version is used when rendering shadows, and improves performance by reducing bandwidth
-It's automatic, but can optionally be used by users, in case they want to make special versions of geometry for shadow casting.
2021-01-25 15:03:15 -03:00
Fabio Alessandrelli
c5c9517e1e
Merge pull request #45432 from Calinou/doc-multiplayer-api-non-godot
Document that the high-level multiplayer API is only for Godot servers
2021-01-25 18:11:32 +01:00
Rémi Verschelde
161c4be9d2
Merge pull request #45440 from bruvzg/ctl_span_breaks
[CTL] Do not break line on the span (e.g. RTL BBCode tag) edges.
2021-01-25 14:04:37 +01:00
Rémi Verschelde
71f0b4f4b9
Merge pull request #45376 from reduz/gi-optimizations
Several GI related optimizations and fixes
2021-01-25 12:51:39 +01:00
bruvzg
eeced6d6f2
[CTL] Do not break line on the span (e.g. RTL BBCode tag) edges. 2021-01-25 09:45:29 +02:00
Hugo Locurcio
1b03f3f72b
Document that the high-level multiplayer API is only for Godot servers 2021-01-25 01:59:28 +01:00
reduz
a9beb7aa8c Shadow map rendering optimization
-All shadow rendering is done with raster now (no compute)
-All shadow rendering is done by rendering directly to the shadow atlas
-Improved how buffer clearing is done to optimize the above.
-Ability to set shadows as 16 bits.
2021-01-24 20:17:28 -03:00
reduz
6fe342478b Several GI related optimizations and fixes
-SDFGI direct light is done over many frames
-SDFGI Changed settings for rays/frame
-SDFGI Misc optimizations
-SDFGI Bug fix on probe scroll

-GIProbe was not working, got it to work again
-GIProbe dynamic objects were not working, fixed

-Added a half size GI option.
2021-01-24 19:29:07 -03:00
Rémi Verschelde
6ddfc8e718
Merge pull request #44797 from a-ivanov/marshall-core-unit-tests
Marshall core unit tests
2021-01-24 20:41:57 +01:00
Anton Ivanov
69b554e92d
Unit tests for encoding/decoding Variant 2021-01-24 17:15:07 +03:00
Anton Ivanov
8aed1ee8f7
Unit tests for encoding/decoding of base types 2021-01-24 17:15:07 +03:00
Rémi Verschelde
d39f6386ce
Merge pull request #45314 from RandomShaper/modernize_rwlock
Modernize RWLock
2021-01-22 14:51:05 +01:00
Rémi Verschelde
2a3e771f4c
Merge pull request #36355 from Dodoveloper/master
Fix remembering of an unsaved scene on exit
2021-01-21 23:54:31 +01:00
Dodoveloper
c3abda0b13 Fix #33326 by reopening scenes 2021-01-21 23:23:54 +01:00
Rémi Verschelde
a9b151c664
Merge pull request #44668 from clayjohn/VULKAN-downsample
Use cubemap downsampler for reflection mipmaps
2021-01-20 20:41:47 +01:00
Rémi Verschelde
b23f1a8d3e
Merge pull request #45267 from HipsterPenguin/BugFixing
Fixed 6DOF set/get check for the path starting with joint_constraints
2021-01-20 17:51:08 +01:00
Rémi Verschelde
4a0abe749e
Merge pull request #45328 from YeldhamDev/clangd_cache
Ignore clangd 11+ cache folder
2021-01-20 15:05:44 +01:00
Michael Alexsander
ff1d636385 Ignore clangd 11+ cache folder 2021-01-20 10:14:02 -03:00
Rémi Verschelde
39cf47ff82
Merge pull request #43734 from Shatur95/detect-plugins-recursively
Detect plugins recursively
2021-01-20 10:39:02 +01:00
Rémi Verschelde
8a6d4dd5ed
Merge pull request #45023 from reduz/optimize-shader-vgpr1
Shader optimizations to reduce VGPR usage and increase occupancy
2021-01-20 00:10:21 +01:00
Rémi Verschelde
f768d86516
Merge pull request #45322 from akien-mga/cleanup-permissions
Cleanup: Remove executable bit from files which don't need it
2021-01-19 23:57:42 +01:00
Rémi Verschelde
5a9bd8e51c
Merge pull request #45321 from aaronfranke/vector-operators-equality
Remove useless "else" statements from vector3.h
2021-01-19 23:47:42 +01:00
Rémi Verschelde
76c6007aa6
Cleanup: Remove executable bit from files which don't need it
Drop unused xpmfix.sh script.
2021-01-19 23:36:42 +01:00
reduz
099dee35f4 Added GPU based cluster builder
Clustering is now GPU based, uses an implementation based on the Activision algorithm.
2021-01-19 23:31:06 +01:00
reduz
7008e3c6ea Shader optimizations to reduce VGPR usage and increase occupancy 2021-01-19 23:31:02 +01:00
PouleyKetchoupp
356d0fccc2
Remove useless "else" statements from vector3.h 2021-01-19 16:36:29 -05:00
Shatur95
64d23b2295 Detect plugins recursively 2021-01-19 18:09:30 +02:00
Rémi Verschelde
53e234fe5f
Merge pull request #45310 from magian1127/master
Mono: Fix support for Unicode identifiers
2021-01-19 15:14:42 +01:00
magian1127
da234cdbc6 C # mono supports Unicode code 2021-01-19 21:44:07 +08:00
HipsterPenguin
6bf46cf70f Fixed 6DOF set/get check for the path starting with joint_constraints
New code checks whether or not property has joint_constraints as the first part of its path.
2021-01-19 06:40:06 -06:00
Pedro J. Estébanez
8ed259b792 Modernize RWLock
- Based on C++14's `shared_time_mutex`
- No more need to allocate-deallocate or check for null
- No pointer anymore, just a member variable
- Platform-specific implementations no longer needed
- Simpler for `NO_THREADS`
2021-01-19 11:53:10 +01:00
Rémi Verschelde
7dea83c623
Merge pull request #45298 from marstaik/fix_cursor
BUGFIX: Fix uninitialized cursor_shape on windows display server
2021-01-19 09:19:52 +01:00
Marios Staikopoulos
2a2de2f684 BUGFIX: Fix unintialized cursor_shape on windows display server 2021-01-18 15:52:47 -08:00
Rémi Verschelde
7fc9d4c79b
Merge pull request #45289 from naithar/fix/plugin_embedding
[iOS] Fix embedding of plugin libraries
2021-01-18 18:16:24 +01:00
Sergey Minakov
6d67827f4e [iOS] Fix embedding of plugin libraries 2021-01-18 19:23:12 +03:00
Rémi Verschelde
eba982b9a3
Merge pull request #45270 from Calinou/editor-tweak-font-hinting-hint
Tweak the "Auto" editor setting hints to be more indicative
2021-01-18 16:47:18 +01:00
Hugo Locurcio
57654508c9
Tweak the "Auto" editor setting hints to be more indicative
This affects the editor scale and font hinting settings which will now
display their automatically chosen value in parentheses.
2021-01-18 16:29:04 +01:00
Rémi Verschelde
eb77d0cf1b
Merge pull request #43906 from Chaosus/vs_sdf
Added SDF nodes to visual shader
2021-01-18 15:20:54 +01:00
Yuri Roubinsky
4618e09f3b
Added SDF nodes to visual shader 2021-01-18 15:04:54 +01:00
Rémi Verschelde
869f5b5328
Merge pull request #45078 from Faless/js/4.x_gamepads
[HTML5] Use internal implementation of the Gamepad API.
2021-01-18 13:12:54 +01:00
Rémi Verschelde
688f4aebef
Merge pull request #32321 from Calinou/editor-disable-quit-confirmation
Remove the editor quit confirmation when there are no unsaved changes
2021-01-18 12:40:17 +01:00
Fabio Alessandrelli
bab20c6e09 [HTML5] Custom Gamepad library to allow remapping.
No longer use emscripten functions for gamepads, implement them as
library functions in library_godot_display.js instead.
This allows us to do a better job at "guessing" vendorId, productId, OS,
etc. thus allowing us to better find the remapping for the controller.
2021-01-18 12:30:38 +01:00
Rémi Verschelde
5496174dd4
Merge pull request #45265 from KoBeWi/children_editing_2077
Change how editable children data is stored
2021-01-18 12:30:38 +01:00
Fabio Alessandrelli
a1533f2c44 Better gamepad axis event injection.
In the core input handling code we have checks to make sure that if axis
rapidly change sign we inject mid-points to release any pending inputmap
action.

The function though, did not correctly insert the mid-point causing
dpads mapped to an axis that behaves like tri-state buttons (-1,0,1) to
not be released correctly.

This commit fixes that by including in the check the case where the axis
swtiches from abs(1) to 0.
2021-01-18 12:30:38 +01:00
Rémi Verschelde
16fa4201f1
Merge pull request #45128 from bruvzg/rtl_wrapped_lines
RichTextLabel: Add count and scroll functions for wrapped lines and paragraphs.
2021-01-18 11:37:21 +01:00
bruvzg
e4651a44ab
RichTextLabel: adds separate get_total_x_count, get_visible_x_count and scroll_to_x functions for wrapped lines and paragraphs (newlines). 2021-01-18 11:26:55 +02:00
Rémi Verschelde
380bb2d533
Merge pull request #45274 from Calinou/fix-botton-typo
Fix typo in theming methods ("botton" -> "bottom")
2021-01-18 10:06:57 +01:00
Rémi Verschelde
125d9b0fc8
Merge pull request #45272 from Calinou/editor-cinematic-preview-hide-rotation-gizmog
Hide the rotation gizmo when editor cinematic preview is enabled
2021-01-18 10:04:35 +01:00
Rémi Verschelde
d13043b443
Merge pull request #45271 from Calinou/editor-tweak-contextual-ligatures-hint
Tweak the Contextual Ligatures editor setting hint for consistency
2021-01-18 09:57:34 +01:00