Age | Commit message (Collapse) | Author |
|
Clean physics direct body state usage in 2D and 3D physics
|
|
Fix double named size parameter
|
|
|
|
Fix point gravity calculation
|
|
Move mixing out of the AudioStreamPlayback* nodes
|
|
|
|
|
|
Whenever contact points are not needed, collision checks with concave
shapes (triangle mesh and heightmap) stop at the first colliding
triangle.
|
|
Make FontData importable resource. Add multi-channel SDF font rendering.
|
|
Refactor RayShape and rename to SeparationRayShape
|
|
Remove leftovers of anisotropy in the VoxelGI shader code
|
|
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.
|
|
Adding GDExtension support to XRInterface
|
|
One-directional layer check for Area vs. RigidBody/SoftBody/Area
|
|
|
|
|
|
Scale color output in the mobile renderer to provide HDR support
|
|
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.
|
|
Add comments at the top of each built-in shader to ease debugging
|
|
Anisotropy support was removed when VoxelGI was reworked as it was
too demanding on the GPU.
|
|
Makes it clearer that it's used for special cases when picking a
collision shape.
|
|
Also added some precision to the documentation.
|
|
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).
|
|
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).
|
|
Partial revert from previously removing ray shapes completely, added
back as a shape type but without the specific character controller code.
|
|
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>
|
|
Created an area-specific wind force that interacts with soft bodies
|
|
* 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.
|
|
|
|
Replace HTTP URLs with HTTPS for sites with HTTPS versions
|
|
[cppcheck] Remove some redundant assignments.
|
|
|
|
Fix multiview defines in tonemap shader
|
|
|
|
|
|
Fix ItemList layout (+EditorFileDialog)
|
|
|
|
Use used_in_transfer instead of used_in_compute twice.
|
|
|
|
|
|
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.
|
|
More fixes to mobile renderer
|
|
|
|
* Specify all precision qualifiers
* Makes renderer work on Adreno Vulkan
|
|
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.
|
|
* 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.
|
|
Same thing that was already done for rigid body and character body
collision detection.
|
|
|
|
|
|
|