Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-08 | Make `compile` shader function to use struct instead long parameter list | Yuri Roubinsky | |
2021-12-07 | Merge pull request #35901 from nathanfranke/pool-byte-array-subarray-exclusive | Rémi Verschelde | |
2021-12-06 | Rename `VideoPlayer` to `VideoStreamPlayer` for consistency | Rémi Verschelde | |
It's a player for `VideoStream` resources, just like `AudioStreamPlayer` is a player for `AudioStream` resources. Closes https://github.com/godotengine/godot-proposals/issues/3624. | |||
2021-12-06 | Merge pull request #55602 from nekomatata/improve-rigidbody-contacts | Rémi Verschelde | |
2021-12-05 | Remove or make verbose some debugging prints | Hugo Locurcio | |
The message about SpatialMaterial conversion was turned into a warning, as it can potentially interfere with porting projects from Godot 3.x (if there's a bug in the conversion code). | |||
2021-12-03 | Update space parameters in 2D and 3D | PouleyKetchoupp | |
Clarified space parameters for contacts and added missing ones. List of changes: -Add contact bias to space parameters -Add solver iterations to space parameters, instead of a specific physics server function -Renamed BODY_MAX_ALLOWED_PENETRATION to CONTACT_MAX_ALLOWED_PENETRATION to make it consistent with other contact parameters | |||
2021-12-03 | Improve RigidDynamicBody contacts in 2D and 3D | PouleyKetchoupp | |
Changed the algorithm for solving contacts to keep previous contacts as long as they are under the max separation threshold to keep contact impulses more consistent and contacts more stable. Also made 2D consistent with 3D and changed some default parameters: -Contact bias is now 0.8 instead of 0.3 to avoid springy contacts -Solver iterations are 16 instead of 8 by default for better stability Performance considerations: Tested with stress tests that include lots of contacts from overlapping bodies. 3D: There's no measurable difference in performance. 2D: Performance is a bit lower (close to 10% slower in extreme cases) The benefit for 2D physics to be much more stable outweighs the slight decrease in performance, and this could be alleviated by changing the algorithm to use jacobians for contact solving to help with cache efficiency and memory allocations. | |||
2021-12-03 | Fix `^=` operator in shaders | Yuri Roubinsky | |
2021-12-02 | Merge pull request #55474 from akien-mga/copy-operators-no-reference | Rémi Verschelde | |
2021-12-02 | Merge pull request #53904 from ↵ | Rémi Verschelde | |
ChristopheClaustre/bugfix_shader_compile_spirv_from_source | |||
2021-12-02 | Merge pull request #55402 from TokageItLab/fixed-immediatemesh-minimum-aabb | Rémi Verschelde | |
Fixed minimum size of `AABB` in `ImmediateMesh` to draw only one vertex | |||
2021-12-02 | Fixed minimum size of aabb in ImmediateMesh to draw only one vertex | Silc 'Tokage' Renew | |
2021-12-01 | Fix shader crash when using existed constant name for struct | Yuri Roubinsky | |
2021-12-01 | Fix declaring array size twice in global shader constant | Yuri Roubinsky | |
2021-12-01 | Allow using empty statements in the shader, added formatting warning | Yuri Roubinsky | |
2021-11-30 | Merge pull request #55490 from Chaosus/fix_shader_crash | Rémi Verschelde | |
2021-11-30 | Merge pull request #55431 from Chaosus/shader_fix_constants | Rémi Verschelde | |
2021-11-30 | Fix shader crash when assigning array to non-array in global constant | Yuri Roubinsky | |
2021-11-30 | Don't return reference on copy assignment operators | Rémi Verschelde | |
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit). | |||
2021-11-29 | Fix `INDEX` built-in in a process function of particle shader | Yuri Roubinsky | |
2021-11-29 | Fix built-in(PI, TAU, E) assignment to a global constant in a shader | Yuri Roubinsky | |
2021-11-26 | PackedByteArray, Array slice end exclusive, rename subarray to slice | Nathan Franke | |
2021-11-26 | Fix `TIME` using in custom functions of particle shader | Yuri Roubinsky | |
2021-11-26 | Merge pull request #55311 from Chaosus/fix_uniform_array | Rémi Verschelde | |
Fix uniform array alignment to fix a bug | |||
2021-11-26 | Merge pull request #55325 from Calinou/fsr-use-warn-print | Rémi Verschelde | |
2021-11-25 | Merge pull request #55313 from nekomatata/bounce-energy-stability | Rémi Verschelde | |
2021-11-25 | Merge pull request #55310 from Ev1lbl0w/fix_headless_window_errors | Rémi Verschelde | |
2021-11-25 | Use `WARN_PRINT_ONCE()` for FSR-related warning messages | Hugo Locurcio | |
`print_error()` should generally not be used directly. Also, falling back is best done by printing a warning message instead of an error message. | |||
2021-11-25 | Fix uniform array alignment to fix a bug | Yuri Roubinsky | |
2021-11-25 | Remove disabled debug code in ClusterBuilderRD | Hugo Locurcio | |
2021-11-25 | Fix RigidDynamicBody gaining momentum with bounce | PouleyKetchoupp | |
Bounce calculation now uses the previous frame's velocity, so it's consistent with the actual motion of the bodies involved and not the yet-to-be-applied forces. When bounce is 1, using the current velocity was causing the new forces (including gravity) to be taken into account, which lead to the bounce velocity to be higher than the falling velocity at the moment of impact, adding more and more energy over time. | |||
2021-11-25 | Added more empty definitions for headless display server | Ricardo Subtil | |
2021-11-25 | Revert "Pushes array of uniforms to first place in the buffer" | Yuri Roubinsky | |
2021-11-25 | [macOS / iOS] Use non atomic operation to store facing bits on MoltenVK. | bruvzg | |
2021-11-24 | Merge pull request #51679 from Je06jm/fsr | Rémi Verschelde | |
AMD FidelityFX Super Resolution | |||
2021-11-24 | Merge pull request #55281 from bruvzg/mvk_fog_volumes | Rémi Verschelde | |
2021-11-24 | [macOS / iOS] Use storage buffers instead of unsupported images for the ↵ | bruvzg | |
volumetric fog on MoltenVK. | |||
2021-11-23 | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | |
2021-11-23 | Implemented AMD's FSR as a computer shader for upscaling 3D scenes | Je06jm | |
2021-11-23 | Prevent return statement from using in block in shader main functions | Yuri Roubinsky | |
2021-11-22 | Add wakeup() conditional if previous gravity was 0 | Brennen Green | |
2021-11-22 | Add methods to get position from column and line in TextEdit | Yuri Sizov | |
2021-11-20 | Add area to moved list when changing monitorable, | Marcel Admiraal | |
and only remove area from query when deleting pair if it was monitorable. | |||
2021-11-19 | Allow passing non-variable constant to const function param in shaders | Yuri Roubinsky | |
2021-11-18 | Merge pull request #55084 from JFonS/fix_depth_prepass | Rémi Verschelde | |
Fix Depth-Prepass transparency mode | |||
2021-11-18 | Merge pull request #55085 from JFonS/transparency_fixes | Rémi Verschelde | |
Fix transparency state initialization | |||
2021-11-18 | Fix Depth-Prepass transparency mode | jfons | |
Add mising bits of implementation and ensure depth-prepass objects are only rendered in the transparency pass. | |||
2021-11-18 | Merge pull request #55074 from nekomatata/fix-soft-body-gravity | Rémi Verschelde | |
2021-11-17 | Fix applied gravity on soft bodies | PouleyKetchoupp | |
Regression fix, gravity was accumulated between frames after some changes around area gravity calculation. Also got rid of unused member and method in soft body class. | |||
2021-11-17 | Fix contact generation with backface collision disabled | PouleyKetchoupp | |
Replaced the previous implementation for backface collision handling (in test_axis function from SAT algorithm) with much simpler logic in the collision generation phase with face shapes, in order to get rid of wrong contacts when backface collision is disabled. Now it just ignores the generated collision if the contact normal is against the face normal, with a threshold to keep edge contacts. Added a special case for soft bodies to invert the collision instead of ignoring it, because for now it's the best solution to avoid soft bodies to go through concave shapes (they use small spheres). This might be replaced with a better algorithm for soft bodies later. |