summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2021-11-17Fix rest_info returning no result with high margin and low motionPouleyKetchoupp
Apply the same logic as in test_body_motion to make sure the minimum allowed depth doesn't filter out all contacts in this case.
2021-11-17Merge pull request #55029 from clayjohn/VULKAN-SRGBRémi Verschelde
Add SHADER_IS_SRGB define to Vulkan renderer
2021-11-16Fix SRGB conversions in Vulkan Rendererclayjohn
2021-11-16Merge pull request #55036 from nekomatata/bvh-fix-updateCamille Mohr-Daurat
Fix physics BVH pairing for teleported or fast moving objects
2021-11-16Fix physics BVH pairing for teleported or fast moving objectsPouleyKetchoupp
Updating the broadphase to find new collision pairs was done after checking for collision islands, so it was working in most cases due to the pairing margin used in the BVH, but in case of teleported objects the narrowphase collision could be skipped. Now it's done before checking for collision islands, so we can ensure that broadphase pairing has been done at the same time as objects are marked as moved so their collision can be checked properly. This issue didn't happen in the Octree/HashGrid because they do nothing on update and trigger pairs directly when objects move instead.
2021-11-16Rename built-in `SGN()` macro to `SIGN()`Hugo Locurcio
This matches the name of the GDScript function (except it's uppercase here).
2021-11-13Fix broken light_compute in mobile rendererYuri Roubinsky
2021-11-12Fix multimesh still drawing when visible instances is zeroBrian Semrau
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-12Fix default_texture_param in shader pipeline to support uniform arraysYuri Roubinsky
2021-11-12Merge pull request #54867 from Chaosus/shader_fix_light_albedoRémi Verschelde
Fix shader crashing when using `ALBEDO` or `ALPHA` in light function
2021-11-11Merge pull request #54810 from nekomatata/area-separate-override-modesCamille Mohr-Daurat
Separate space override modes for gravity/damping in Area
2021-11-11Fix shader crashing when using `ALBEDO` or `ALPHA` in light functionYuri Roubinsky
2021-11-10Add raycast options to hit when starting inside / hit back facesPouleyKetchoupp
Makes the results consistent for all shape types with options to set the desired behavior.
2021-11-10Merge pull request #54783 from ator-dev/fix-override-exposureRémi Verschelde
2021-11-10Fix errors in CharacterBody when floor is destroyed or removedPouleyKetchoupp
In all physics servers, body_get_direct_state() now silently returns nullptr when the body has been already freed or is removed from space, so the client code can detect this state and invalidate the body rid. In 2D, there is no change in behavior (just no more errors). In 3D, the Bullet server returned a valid direct body state when the body was removed from the physics space, but in this case it didn't make sense to use the information from the body state.
2021-11-09Separate space override modes for gravity/damping in AreaPouleyKetchoupp
Also make inspector clearer for gravity point properties.
2021-11-09Merge pull request #54736 from Chaosus/shader_fix_uniformRémi Verschelde
2021-11-08Merge pull request #54134 from nekomatata/body-center-of-mass-localCamille Mohr-Daurat
Expose local center of mass in physics servers
2021-11-08Expose local center of mass in physics serversPouleyKetchoupp
Center of mass in body's local space is more useful than the transformed one in some cases, like drawing its position for debug. It's especially useful to get the generated local center of mass when in auto mode (by default). Physics Server BODY_PARAM_CENTER_OF_MASS: Now always returns the local center of mass, instead of setting a local center of mass and getting a transformed one. This causes compatibility breaking, but it makes more sense for the parameter to be consistent between getter and setter. Direct Body State: There are now two properties, because both of them can be useful in different situations. center_of_mass: relative position in global coordinates (same as before) center_of_mass_local: position in local coordinates
2021-11-09Merge pull request #46721 from bruvzg/custom_word_break_punctRémi Verschelde
2021-11-09Merge pull request #54372 from bruvzg/text_edit_uiRémi Verschelde
2021-11-08Implement CameraEffects override_exposureDominic-ATOR
2021-11-08Merge pull request #54486 from ibrahn/thread-work-pool-lazierRémi Verschelde
2021-11-07Pushes array of uniforms to first place in the buffer to prevent bugYuri Roubinsky
2021-11-05Rename AABB `get_area` to `get_volume`Brian Semrau
2021-11-05Merge pull request #54642 from BoilingFusion/masterCamille Mohr-Daurat
Fix the volume calculation for cylinders
2021-11-05Merge pull request #54573 from nekomatata/query-parametersRémi Verschelde
2021-11-05Fix the volume calculation for cylindersJulian Adamse
2021-11-05Use Callable in RS::request_frame_drawn_callbackBrian Semrau
2021-11-04Use parameter classes instead of arguments for all physics queriesPouleyKetchoupp
Same as what is already done for shape queries, applied to point and ray queries. Easier to document and more flexible to add more parameters. Also expose intersect_point method to script in 3D. Remove intersect_point_on_canvas in 2D, replaced with a parameter.
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-01Use `Callable` in Area monitor callbackrafallus
2021-11-01ThreadWorkPool no longer starts worker threads if given zero work.Ibrahn Sahir
2021-11-01Merge pull request #37880 from nekomatata/rigid-body-damping-overrideCamille Mohr-Daurat
Improved RigidDynamicBody linear/angular damping override
2021-11-01Merge pull request #54356 from Chaosus/shader_fix_matrix_autocompletionRémi Verschelde
2021-11-01Merge pull request #54480 from timothyqiu/texture-replaceRémi Verschelde
2021-11-01Fix memory leak when using CurveTexture.set_texture_modeHaoyu Qiu
2021-11-01Merge pull request #54459 from rxlecky/fix-multimesh-buffer-overflow-53603Rémi Verschelde
2021-10-31Fix multimesh buffer overflow in RendererStorageRDSeleckyErik
2021-10-31Merge pull request #54448 from CakHuri/treshold-to-thresholdRémi Verschelde
Repair mistyped of 'threshold' on several files.
2021-10-31Merge pull request #54307 from Calinou/add-opengl-renderer-squashRémi Verschelde
Add OpenGL renderer (squashed)
2021-10-31Repaired mistyped of 'threshold' on several files.M. Huri
2021-10-31Use OpenGL 3.3 core profile instead of compatibility profileClay John
- Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
2021-10-31Add functions for getting name and font style from dynamic and bitmap fonts.bruvzg
Add font selection toolbar editor plugin.
2021-10-31Merge pull request #54403 from briansemrau/fix-small-fogvolumeRémi Verschelde
FogVolume don't dispatch compute with zero-dimension groups
2021-10-30Don't use Texture image caches if they are rendered toBrian Semrau
2021-10-30Merge pull request #54405 from JFonS/fix_instance_indexRémi Verschelde
Fix instance index in forward clustered shader
2021-10-30Disallow compute dispatch with zero dimensions.Brian Semrau
2021-10-30Fix instance index in forward clustered shaderjfons