Commit Graph

41649 Commits

Author SHA1 Message Date
Hugo Locurcio b1a295b739
Implement distance fade properties in OmniLight3D and SpotLight3D
This can be used to fade lights and their shadows in the distance,
similar to Decal nodes. This can bring significant performance
improvements, especially for lights with shadows enabled and when
using higher-than-default shadow quality settings.

While lights can be smoothly faded out over distance, shadows are
currently "all or nothing" since per-light shadow color is no longer
customizable in the Vulkan renderer. This may result in noticeable
pop-in when leaving the shadow cutoff distance, but depending on the
scene, it may not always be that noticeable.
2022-02-25 15:17:35 +01:00
Rémi Verschelde 4dc8214831
Merge pull request #58496 from JFonS/fix_lm_crash 2022-02-24 13:29:51 +01:00
Rémi Verschelde 093b46ddf0 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@CakHuri, @floppyhammer, @rafallus, @Sauermann, @Scony, @trollodel,
@winterpixelgames

Thanks to all contributors and donors for making Godot possible!
2022-02-24 13:23:16 +01:00
jfons d0fd5fd3c7 Add sanity checks to lightmap unwrap texel size 2022-02-24 13:00:51 +01:00
Rémi Verschelde 9c8ab7351b
Merge pull request #58489 from Pineapple/ustring-optimizations-master 2022-02-24 10:52:39 +01:00
Rémi Verschelde ecbeb173e0
Merge pull request #58482 from KoBeWi/you_came_to_the_wrong_source 2022-02-24 09:51:27 +01:00
Bartłomiej T. Listwon 3f7f780a4c Optimize String concatenation and copy functions 2022-02-24 09:47:15 +01:00
kobewi b727b81468 Fix source picking with sort 2022-02-24 01:20:21 +01:00
Rémi Verschelde cfc7c78732
Merge pull request #58474 from darrylryan/master 2022-02-23 21:25:09 +01:00
Darryl Ryan 3ce5cceef9 Filament specular fix. Clamp dot product between normal and view vectors. Fixes #58459. 2022-02-23 18:16:52 +00:00
Rémi Verschelde 565823c562
Merge pull request #58472 from groud/fix_llvm_compilation 2022-02-23 19:12:55 +01:00
Gilles Roudière f045c97218 Fix llvm compilation by adding missing override 2022-02-23 18:07:02 +01:00
Rémi Verschelde b28a83ef3d
Merge pull request #58448 from novaplusplus/wow-more-string-docs 2022-02-23 17:54:30 +01:00
Nova f159e7e5ab Added or improved documentation to a few more String methods 2022-02-23 10:50:33 -05:00
Rémi Verschelde 607e0cc49f
Merge pull request #58134 from timothyqiu/shortcut-zoom-mouse-pos 2022-02-23 14:59:29 +01:00
Rémi Verschelde e3b70f3582
Merge pull request #58244 from V-Sekai/typed_fail_case_return 2022-02-23 14:12:14 +01:00
Haoyu Qiu 33ad21d2ed Utilize mouse position when zooming with shortcuts in 2D editor 2022-02-23 20:45:44 +08:00
Rémi Verschelde 1f3916e0b6
Merge pull request #56394 from BastiaanOlij/OpenXR_Core4 2022-02-23 13:36:07 +01:00
Rémi Verschelde 2fd17df2ce
Merge pull request #58354 from timothyqiu/gridmap-export 2022-02-23 13:05:26 +01:00
Rémi Verschelde 65fdba1464
Merge pull request #58444 from lawnjelly/giprobe_gizmo_fix4 2022-02-23 13:05:10 +01:00
Rémi Verschelde 96261838c5
Merge pull request #57956 from Eoin-ONeill-Yokai/audio_stream_hotfix 2022-02-23 13:04:47 +01:00
Rémi Verschelde 95783f7bfc
Merge pull request #58415 from V-Sekai/cyclic_assignment_gdscript_fixes 2022-02-23 12:09:44 +01:00
Bastiaan Olij a78a9fee71 Implementing OpenXR driver 2022-02-23 12:02:24 +01:00
Bastiaan Olij 65bae5a341 Add OpenXR 1.0.22 to thirdparty libraries
Will be compiled and used in the next commit.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-02-23 11:50:45 +01:00
Rémi Verschelde fcf8c2006d
Merge pull request #58411 from cbscribe/rename_motion_velocity 2022-02-23 09:48:58 +01:00
Chris Bradfield 849d34ba8e Rename motion_velocity to velocity 2022-02-22 23:31:33 -08:00
Rémi Verschelde 2b8a6c14df
Merge pull request #51716 from clayjohn/VULKAN-optimized-GGX
Use Filament specular model and parametrization
2022-02-23 07:38:27 +01:00
clayjohn fe49244611 Use Filament specular models and parametrization 2022-02-22 19:39:41 -08:00
Eoin O'Neill ded9dc1e82 Add missing binding to AudioStream class
This allows for the extension of AudioStream where you can call
`instance_plackback` on child AudioStream instances within gdscript,
much like the implementation of some child classes in C++.

See `AudioStreamRandomPitch` for an example of how this can be used.
2022-02-22 18:11:40 -08:00
Rémi Verschelde 002ab10608
Merge pull request #57664 from skyace65/TriangulateInfo
Add more information on triangulate polygon
2022-02-22 22:06:16 +01:00
Rémi Verschelde e17c29ab80
Merge pull request #58440 from novaplusplus/novas-doc-stuff
Fix incorrect surfacetool example in class docs
2022-02-22 20:06:58 +01:00
Rémi Verschelde e0d18071a6
Merge pull request #58442 from novaplusplus/docs-string-humanize-size
Document String's humanize_size static method
2022-02-22 20:06:07 +01:00
lawnjelly bb070af610 Fix GIProbe gizmo out of bounds crash
The GIProbe gizmo was writing values in 3 dimensions to Vector2s. This error was previously being masked by the Vector2 accessor, but now results in a crash or ERR_FAIL message.

This PR removes the Vector2s as they were unused.
2022-02-22 19:01:18 +00:00
Nova b2b2e0606f Document String's humanize_size static method 2022-02-22 13:12:29 -05:00
Nova b5f7910ca0 Fix incorrect SurfaceTool example in class docs 2022-02-22 12:46:01 -05:00
Rémi Verschelde 872e8a43ca
Merge pull request #58343 from aaronfranke/negative-shape-warning 2022-02-22 15:35:18 +01:00
Rémi Verschelde f880414b6a
Merge pull request #58426 from akien-mga/ci-mono-static 2022-02-22 14:41:04 +01:00
Rémi Verschelde ce09a47db4 CI: Use mono_static=yes for Mono builds
This removes the dependency on shared libmonosgen installed locally
and makes the artifacts usable as standalone for testing without
needing a full Mono install.
2022-02-22 13:49:37 +01:00
Rémi Verschelde 0beb721c70
Merge pull request #58344 from TokageItLab/fix-cubic-interpolate-with-loop 2022-02-22 12:18:08 +01:00
Rémi Verschelde 6836db05a5
Merge pull request #57538 from floppyhammer/fix-gpu-particles-2d-offset 2022-02-22 11:54:47 +01:00
Rémi Verschelde ca5cc8bc66
Merge pull request #58420 from bruvzg/fix_borderless_minimize 2022-02-22 11:27:27 +01:00
floppyhammer 0d5472dd1a Fix GPUParticles2D emission offset in global coords 2022-02-22 17:50:01 +08:00
bruvzg d39ec5b9ed [Windows] Fix borderless window flag toggle and restoring minimized borderless window. 2022-02-22 10:56:58 +02:00
Rémi Verschelde c77348b468
Merge pull request #58419 from clayjohn/Vulkan-anisotropy-crash 2022-02-22 09:09:16 +01:00
Rémi Verschelde bbde473284
Merge pull request #58418 from clayjohn/Vulkan-cubemap-proughness 2022-02-22 09:08:43 +01:00
Rémi Verschelde e6c11e4dfd
Merge pull request #58331 from poiati/fix-extension-registration-order-2 2022-02-22 09:07:28 +01:00
clayjohn 2da35d2b94 Fix shader compilation error with anisotropy 2022-02-21 22:58:33 -08:00
clayjohn 9d104ad839 Use properly use non-perceptual roughness when filtering radiance 2022-02-21 22:53:12 -08:00
SaracenOne b6aa4ed55d Fixes cyclic detection from variables assigning themselves to themselves in autocomplete, and restricts initialization of variables from other variables which have not been declared above it in class body 2022-02-22 01:21:21 +00:00
Rémi Verschelde 256069eaf0
Merge pull request #58399 from Sauermann/fix-bresenham-usage
Use bresenham_line() in EditorAtlasPacker::chart_pack
2022-02-21 22:19:53 +01:00