summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2021-08-31Merge pull request #49471 from nekomatata/body-state-sync-callbackJuan Linietsky
Clean physics direct body state usage in 2D and 3D physics
2021-08-28Merge pull request #52176 from BastiaanOlij/fix_gl_size_paramMax Hilbrunner
Fix double named size parameter
2021-08-28Fix double named size parameterBastiaan Olij
2021-08-28Merge pull request #52070 from nekomatata/area-point-gravity-fixFabio Alessandrelli
Fix point gravity calculation
2021-08-27Merge pull request #51296 from ellenhp/mix_in_audio_serverJuan Linietsky
Move mixing out of the AudioStreamPlayback* nodes
2021-08-27Do all audio mixing in the AudioServerEllen Poe
2021-08-27Require AudioStream::mix to return the number of frames successfully mixedEllen Poe
2021-08-27Optimize area detection and intersect_shape queries with concave shapesPouleyKetchoupp
Whenever contact points are not needed, collision checks with concave shapes (triangle mesh and heightmap) stop at the first colliding triangle.
2021-08-27Merge pull request #51908 from bruvzg/msdf_fonts2K. S. Ernest (iFire) Lee
Make FontData importable resource. Add multi-channel SDF font rendering.
2021-08-27Merge pull request #51896 from nekomatata/restore-ray-shapeCamille Mohr-Daurat
Refactor RayShape and rename to SeparationRayShape
2021-08-27Merge pull request #52092 from Calinou/voxelgi-remove-anisotropic-leftoversJuan Linietsky
Remove leftovers of anisotropy in the VoxelGI shader code
2021-08-27Makes FontData importable resource.bruvzg
Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
2021-08-27Merge pull request #52003 from BastiaanOlij/xr_interface_extensionBastiaan Olij
Adding GDExtension support to XRInterface
2021-08-26Merge pull request #51801 from nekomatata/area-one-directional-layer-checkCamille Mohr-Daurat
One-directional layer check for Area vs. RigidBody/SoftBody/Area
2021-08-26Adding GDExtension support to XRInterfaceBastiaan Olij
2021-08-26Optionally scale 3D render contentBastiaan Olij
2021-08-26Merge pull request #50883 from BastiaanOlij/mobile_hdrBastiaan Olij
Scale color output in the mobile renderer to provide HDR support
2021-08-25Clean physics direct body state usage in 2D and 3D physicsPouleyKetchoupp
Use a C++ callback instead of Callable for synchronizing physics nodes' state with physics servers. Remove usage of PhysicsDirectBodyState in physics nodes when not necessary. Store PhysicsDirectBodyState for bodies individually instead of a singleton to avoid issues when accessing direct body state for multiple bodies. PhysicsDirectBodyState is initialized only when needed, so it doesn't have to be created when using the physics server directly. Move PhysicsDirectBodyState2D and PhysicsDirectBodyState3D to separate cpp files.
2021-08-25Merge pull request #51821 from Calinou/builtin-shaders-add-commentsJFonS
Add comments at the top of each built-in shader to ease debugging
2021-08-25Remove leftovers of anisotropy in the VoxelGI shader codeHugo Locurcio
Anisotropy support was removed when VoxelGI was reworked as it was too demanding on the GPU.
2021-08-24Rename RayShape to SeparationRayShapePouleyKetchoupp
Makes it clearer that it's used for special cases when picking a collision shape.
2021-08-24Rename slips_on_slope to slide_on_slopePouleyKetchoupp
Also added some precision to the documentation.
2021-08-24Fix CharacterBody motion with RayShapePouleyKetchoupp
Make separation ray shapes work properly in move_and_slide, wihtout the specific code in CharacterBody like before. Now most of the logic is handled inside the physics server. The only thing that's needed is to use ray shapes only for recovery and ignore them when performing the motion itself (unless we're snapping or slips on slope is on).
2021-08-24Fix RayShape collision detectionPouleyKetchoupp
One-way collision is disabled for both rigid bodies and character bodies. Kinematic margin is now applied to ray shapes to help getting consistent results in slopes and flat surfaces. Convex shapes don't return inverted normals when a segment test starts inside (raycasting will be made consistent in a separate patch). Ray shapes also discard contacts when fully contained inside a shape and when the contact direction is inverted, so the behavior is consistent with all shape types. Now they always separate only when intersecting the top of a shape (for downward rays).
2021-08-24Restore RayShape as a regular shape typePouleyKetchoupp
Partial revert from previously removing ray shapes completely, added back as a shape type but without the specific character controller code.
2021-08-24Fix point gravity calculationPouleyKetchoupp
Removing the + 1 in point gravity formula when using distance scale to make it more accurate for standard gravitation. Fixes precession in orbits for games using gravitation. Also moved gravity calculation to area to use it for both rigid bodies and soft bodies in 3D (same change in 2D for consistency). Co-authored-by: Ryan Peach <ryan.peach@keysight.com>
2021-08-23Merge pull request #51751 from jeffrey-cochran/windforceCamille Mohr-Daurat
Created an area-specific wind force that interacts with soft bodies
2021-08-23Implement NativeExtension pointer argumentsreduz
* Allows calling into native extensions directly with a pointer * Makes it easier to implement some APIs more efficiently * Appears with a "*" in the documentation for the argument. * Implementing the pointer handling is entirely up to the implementation, although the extension API provides some hint. * AudioStream has been implemented as an example, allowing to create NativeExtension based AudioStreams.
2021-08-23Enabled area-specific wind forcesJeffrey Cochran
2021-08-23Merge pull request #51971 from aaronfranke/httpsMax Hilbrunner
Replace HTTP URLs with HTTPS for sites with HTTPS versions
2021-08-23Merge pull request #51947 from AnilBK/redundant-assignmentsMichael Alexsander
[cppcheck] Remove some redundant assignments.
2021-08-23Scale color output in the mobile renderer to provide HDR supportBastiaan Olij
2021-08-23Merge pull request #51980 from BastiaanOlij/fix_multiview_tonemapBastiaan Olij
Fix multiview defines in tonemap shader
2021-08-22Replace HTTP links with HTTPS for sites with HTTPS versionsAaron Franke
2021-08-22Fixed non-uniform scaling of normalsDuarte David
2021-08-22Merge pull request #51886 from Geometror/fix-layout-editor-file-dialogMichael Alexsander
Fix ItemList layout (+EditorFileDialog)
2021-08-22Fix multiview defines in tonemap shaderBastiaan Olij
2021-08-21Remove redundant assignments.Anilforextra
Use used_in_transfer instead of used_in_compute twice.
2021-08-21Fix ItemList layout (+EditorFileDialog)Hendrik Brucker
2021-08-19Fix compilation warnings in Shape2DSW/Shape3DSWPouleyKetchoupp
2021-08-19Improvements to SpotLight3D and OmniLight3D's shadowsjfons
OmniLight3D: * Fixed lack of precision in cube map mode by scaling the projection's znear. * Fixed aliasing issues by making the paraboloids use two square regions instead of two half squares. * Fixed shadowmap atlas bleeding by adding padding. * Fixed sihadow blur's inconsistent radius and unclamped sampling. SpotLight3D: * Fixed lack of precision by scaling the projection's znear. * Fixed normal biasing. Both: * Tweaked biasing to make sure it works out of the box in most situations.
2021-08-18Merge pull request #51843 from reduz/fixes-to-mobile-renderer-3Rémi Verschelde
More fixes to mobile renderer
2021-08-18Merge pull request #51792 from Chaosus/removed_restartRémi Verschelde
2021-08-18More fixes to mobile rendererreduz
* Specify all precision qualifiers * Makes renderer work on Adreno Vulkan
2021-08-18Add comments at the top of each built-in shader to ease debuggingHugo Locurcio
When a shader error is printed about a built-in shader, the origin of the shader will now be recognizable immediately by looking at the top of the printed shader code.
2021-08-17Fixes to mobile rendererreduz
* Make sure shaders are named, to aid in debug in case of failure * SceneRenderRD was being wrongly initialized (virtual functions being called when derivative class not initialized). * Fixed some bugs resulting on the above being corrected.
2021-08-17One-directional layer check for Area vs. RigidBody/SoftBody/AreaPouleyKetchoupp
Same thing that was already done for rigid body and character body collision detection.
2021-08-17Removed `RESTART` built-in from `start` particle shader functionYuri Roubinsky
2021-08-17Fix incorrect uniform buffer size for particlesYuri Roubinsky
2021-08-16Epsilon check for angular velocity in Body3DSWLoipesMas