summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2021-10-23Decrease the default soft shadow quality to improve performanceHugo Locurcio
Soft shadows are relatively expensive to filter. However, with the default blur factors, it's not needed to use too many samples (unless PCSS-like shadows are used with a large size). Textures and screen-space antialiasing can also be used to mask the noise pattern effectively. On a GeForce GTX 1080, going from Medium to Low for both shadow types saves 0.2-0.4 ms of GPU time per frame in 2560×1440 resolution. This can translate to significantly higher savings on lower-end GPUs. Given how the shader works, this improves rendering performance even if lights with shadows are never used.
2021-10-22Merge pull request #54124 from Uxeron/CenterOfMassRotationFixCamille Mohr-Daurat
Fix physics body rotating incorrectly around it's center of mass
2021-10-22Merge pull request #54131 from nekomatata/fix-2d-body-center-of-mass-autoRémi Verschelde
2021-10-22Fix physics body rotating incorrectly around it's center of massUxeron
2021-10-22Fix RigidDynamicBody2D auto center of mass calculationPouleyKetchoupp
Should be changing the local center of mass, which is then transformed into `center_of_mass`. It was causing the center of mass to be always in (0,0) by default with multiple shapes.
2021-10-22Merge pull request #53992 from Calinou/hard-shadow-mapping-allow-ditheringRémi Verschelde
2021-10-22Merge pull request #54088 from madmiraal/remove-unimplemented-methodsRémi Verschelde
2021-10-22Merge pull request #54110 from nekomatata/fix-rigid-body-update-collision-layerRémi Verschelde
2021-10-21Fix RigidDynamicBody collision update after changing collision layer/maskPouleyKetchoupp
Changing the collision layer of a sleeping body was not triggering area updates correctly. Bodies need to be active for collision to be checked against already overlapping bodies and areas. Neighbors need to be activated too in order to handle the case where a static body is modified (it can't be activated directly but paired bodies need to check their collision again). In 3D, moved the call to wakeup() from the physics server to GodotBody3D::_shapes_changed to make it consistent with 2D and also handle the case where shapes are modified (_shapes_changed is called in both this case and collision layer changes).
2021-10-21Merge pull request #54082 from Chaosus/fix_shader_crashYuri Roubinsky
2021-10-21Remove unimplemented methodsMarcel Admiraal
2021-10-21Merge pull request #54053 from nekomatata/fix-soft-body-disable-modeRémi Verschelde
Fix SoftDynamicBody3D crash when setting disable mode
2021-10-21Prevent shader crash when passing constant expression to `textureGather`Yuri Roubinsky
2021-10-21Add Soft Very Low shadow quality mode for 3DHugo Locurcio
This can be used to improve 3D shadow rendering quality at little performance cost. Unlike the existing Hard setting which is limited to variable shadow blur only, it works with both fixed blur and variable blur.
2021-10-21Merge pull request #54063 from Chaosus/shader_fix_spatial_samplersYuri Roubinsky
2021-10-21Fix SoftDynamicBody3D crash when setting disable modePouleyKetchoupp
Proper logic for changing physics state when disabled and disabled mode is changed (it was unnecessarily making calls to re-initialize physics). Extra error handling in soft body implementations to avoid crashes with invalid mesh.
2021-10-21Merge pull request #54011 from nekomatata/center-of-mass-2d-transformRémi Verschelde
2021-10-21Fix built-in texture samplers passing for spatial shader modeYuri Roubinsky
2021-10-20Prevent a rendering crash and error spam for uniform texture arrayYuri Roubinsky
2021-10-20doctool: Fix differences between headless and Vulkan rendering backendsRémi Verschelde
Fixes #53913.
2021-10-20Merge pull request #53702 from ConteZero/primary_clipboard_linuxRémi Verschelde
2021-10-20Fix double _get_tracking_status declarationBastiaan Olij
2021-10-19Fix 2D center of mass not updated from transformPouleyKetchoupp
Same logic as what was done in 3D, applied to 2D center of mass. Also did some minor cleanup in 3D and fixed center of mass transform during the first frame after teleporting a dynamic body.
2021-10-19Merge pull request #53972 from zedutch/fix-shader-time-updateRémi Verschelde
Fix shaders using `TIME` not continuously updating
2021-10-19Merge pull request #53790 from briansemrau/remove-distant-shadowy-voidRémi Verschelde
2021-10-19Add support for returning the play area from XRInterfaceBastiaan Olij
2021-10-19Merge pull request #52940 from groud/toast_notificationRémi Verschelde
2021-10-19Merge pull request #53980 from nekomatata/rename-godot-physics-classesRémi Verschelde
2021-10-19Merge pull request #52210 from BastiaanOlij/enhance_xr_trackersRémi Verschelde
2021-10-19Merge pull request #53960 from ↵Rémi Verschelde
Klowner/audioserver-startplaybackstream-potential-leak
2021-10-18Rename Godot Physics classes from *SW to Godot*PouleyKetchoupp
Also moved MT physics server wrappers to the main servers folder, since they don't have to be implementation specific.
2021-10-18Fix shaders that use TIME do not force editor to continuously updateRobin Arys
2021-10-18Validate enum range in RendererViewport::viewport_get_render_infoHaoyu Qiu
2021-10-18fix potential memory leak of AudioStreamPlaybackBusDetails in ↵Mark Riedesel
AudioServer::start_playback_stream()
2021-10-18Added primary clipboard for LinuxConteZero
2021-10-18[TextServer] Use `round` instead of `floor` for hex code box size ↵bruvzg
calculation to better match font size.
2021-10-17Rework XR positional trackersBastiaan Olij
2021-10-15Swap args of Plane(point, normal) constructormennomax
Now (normal, point)
2021-10-15Merge pull request #53815 from Chaosus/fix_wireframe_render_modeRémi Verschelde
2021-10-15Fix `wireframe` render modeYuri Roubinsky
2021-10-14Remove incorrect fog height density remappingBrian Semrau
2021-10-14Fix several issues with directional shadowsBrian Semrau
- Internally disable blend splits in orthogonal directional shadow mode - Fix soft shadows ignoring fade and blend_splits - Fix soft shadow edge stability
2021-10-14Implement toast notifications in the editorGilles Roudière
2021-10-14Fix the height fog effectBrian Semrau
2021-10-13Added few more built-ins to shader languageYuri Roubinsky
2021-10-12Merge pull request #53712 from CakHuri/nullptrRémi Verschelde
Replace NULL with nullptr
2021-10-12Replaced NULL with nullptrM. Huri
2021-10-12Fix some LGTM errors of "Multiplication result converted to larger type"Aaron Franke
2021-10-11Fix shader crash on using METALLIC and ROUGHNESS built-ins in light funcYuri Roubinsky
2021-10-11Merge pull request #53641 from DeeJayLSP/audio_pitch_fixRémi Verschelde