summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2022-10-11Merge pull request #67176 from cooperra/negative-scale-culling-fixRémi Verschelde
Vulkan Clustered: Fix culling of negatively-scaled objects
2022-10-11Merge pull request #64268 from timothyqiu/is-finiteRémi Verschelde
Add `is_finite` method for checking built-in types
2022-10-11Merge pull request #67000 from RandomShaper/split_render_furtherRémi Verschelde
Polish rendering driver refactor further
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10[macOS] Fix window button position and title bar size when editor scale do ↵bruvzg
not match OS UI scale.
2022-10-10Vulkan Clustered: Fix culling of negatively-scaled objectsRobbie Cooper
Negatively scaled objects should be mirrored. This is already implemented, but it breaks when mirrored and non-mirrored instances of the same object are visible together. It turns out that the code that skips-over repeats in `RenderForwardClustered::_render_list_template` also skips the code that accounts for the culling mode of mirrored objects. The solution here is to consider the `mirror` flag when determining repeats. This might result in more draw commands than necessary since a mirrored object can split a group of non-mirrored instances in two. This problem doesn't appear in the mobile renderer because the repeat optimization isn't implemented there yet. The problem still appears in MultiMeshInstance3D in *all* renderers. Fixes #62879 and #58546.
2022-10-08Merge pull request #67051 from clayjohn/CanvasGroup-clearRémi Verschelde
Allow clearing backbuffer after finishing CanvasGroup
2022-10-08Add `is_finite` method for checking built-in typesHaoyu Qiu
2022-10-07Allow clearing backbuffer after finishing CanvasGroupclayjohn
This avoids an issue where having multiple CanvasGroups overlap would create a weird artifact
2022-10-07Fix material overlay overriding shadow casting logicclayjohn
Material overlay should only cast a shadow if it can cast a shadow and the instance can cast a shadow
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-07Merge pull request #67016 from bruvzg/split_caret_dir_markerRémi Verschelde
Add split caret direction markers. Fix block/overtype caret size.
2022-10-07Merge pull request #66861 from clayjohn/GLES3-mono-uboRémi Verschelde
Use a giant UBO to optimize performance in 2D [OpenGL3]
2022-10-07Add split caret direction markers. Fix block/overtype caret size.bruvzg
2022-10-06Merge pull request #66756 from BastiaanOlij/fix_ssrRémi Verschelde
Fixing artifacts in SSR
2022-10-06Polish rendering driver refactor furtherPedro J. Estébanez
Mainly: - Make `max_descriptors_per_pool` project setting Vulkan-specific. - Use a common, render driver agnostic magic FourCC for shader binary data. - Downgrade spirv_reflect to Vulkan-only dependency. - Add a `RENDER_DRIVER_*` macro to GLSL shader code for per-driver customizations.
2022-10-06Use a giant UBO to optimize performance in 2Dclayjohn
This removes the countless small UBO writes we had before and replaces them with a single large write per render pass. This results in much faster rendering on low-end devices but improves speed on all devices.
2022-10-06Merge pull request #66936 from mihe/inverse-inertia-tensorRémi Verschelde
Bind PhysicsDirectBodyState3D::get_inverse_inertia_tensor
2022-10-06Merge pull request #66951 from rburing/restore_recovery_as_collisionRémi Verschelde
Revert "Turn on recovery as collisions only for floor snapping"
2022-10-05Revert "Turn on recovery as collisions only for floor snapping as this leads ↵Ricardo Buring
to unwanted behaviour for other surface than the floor." This reverts commit 10395f5df2a1cac6ed83e674c084e62a88fcdde9.
2022-10-05Bind PhysicsDirectBodyState3D::get_inverse_inertia_tensorMikael Hermansson
2022-10-05Merge pull request #66922 from BastiaanOlij/fix_direct_shadowRémi Verschelde
Make sure atlas rect for directional lights is calculated using floats
2022-10-05Make sure atlas rect for directional lights is calculated using floatsBastiaan Olij
2022-10-05Merge pull request #66683 from clayjohn/SRGB-canvasitemRémi Verschelde
Default CanvasItem materials to use sRGB space for uniform colors
2022-10-05Merge pull request #66720 from qarmin/unintialized_memoryRémi Verschelde
Remove usage of unitialized variables
2022-10-05Merge pull request #66898 from aaronfranke/proj-mat-columnsRémi Verschelde
Rename Projection `matrix` to `columns`
2022-10-05Merge pull request #66915 from timothyqiu/indexingRémi Verschelde
Fix crash when executing `RenderingServer.mesh_surface_get_format_offset`
2022-10-05Fix crash when executing `RenderingServer.mesh_surface_get_format_offset`Haoyu Qiu
2022-10-05Adding getters to RenderTarget and implementing override functionality for XRBastiaan Olij
2022-10-04Rename Projection `matrix` to `columns`Aaron Franke
2022-10-04Fixing artifacts in SSRBastiaan Olij
2022-10-04Merge pull request #66780 from dsnopek/webxr-emulator-fixRémi Verschelde
Fix rendering in the WebXR emulator
2022-10-04Moving SSEffects settings into classBastiaan Olij
2022-10-04Move cluster builder, sdfgi and gi structures to clustered renderer, move ↵Bastiaan Olij
light and probe elements into storage and reorganise our render_scene method.
2022-10-03Merge pull request #66813 from Chaosus/fix_uniform_crashRémi Verschelde
Fix global uniform crash at editor startup
2022-10-03Fix global uniform crash at editor startupYuri Rubinsky
2022-10-03Remove NO_THREADS fallback code, Godot 4 requires thread supportRémi Verschelde
This also removes `OS::can_use_threads` from the public API since it's always true.
2022-10-02Update Instance flags in shaders to match instance flags in engineclayjohn
2022-10-02Fix rendering in the WebXR emulatorDavid Snopek
2022-10-01Remove usage of unitialized variablesRafał Mikrut
2022-09-30Default CanvasItem materials to not convert uniform colors to linear space.clayjohn
The 2D renderer in Godot is totally in sRGB space so it is appropriate to keep 2D uniform colors in sRGB space
2022-09-30Fix typos with codespellRémi Verschelde
Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though).
2022-09-30Merge pull request #66178 from clayjohn/double-precision-renderingRémi Verschelde
Emulate double precision for regular rendering operation when REAL_T_IS_DOUBLE
2022-09-30Merge pull request #66641 from timothyqiu/null-jointRémi Verschelde
Fix crash when executing `PhysicsServer2D.joint_clear`
2022-09-30Merge pull request #66638 from timothyqiu/rendering-nullRémi Verschelde
Add various null checks in RenderingServer
2022-09-30Merge pull request #66626 from danboo/fix-typo-run-debug-collisonsRémi Verschelde
Fix typos - "collison" -> "collision"
2022-09-30Fix crash when executing `PhysicsServer2D.joint_clear`Haoyu Qiu
2022-09-30Add various null checks in RenderingServerHaoyu Qiu
2022-09-29Fix typo - "collison" -> "collision"danboo
2022-09-29Merge pull request #66143 from DarkKilauea/nav-queries-agentRémi Verschelde
Update NavigationAgent to use query_path