summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2022-01-05Merge pull request #56522 from akien-mga/navigation-restore-safe-get_singletonRémi Verschelde
2022-01-05NavigationServer: Restore constness for thread safe `get_singleton`Rémi Verschelde
This was removed by mistake in #47024, NavigationServer uses internal mutability for thread safety, and removing `const` breaks the contract.
2022-01-05Added material_overlay property to MeshInstance3DFernando Cosentino
Applying overlay materials into multi-surface meshes currently requires adding a next pass material to all the surfaces, which might be cumbersome when the material is to be applied to a range of different geometries. This also makes it not trivial to use AnimationPlayer to control the material in case of visual effects. The material_override property is not an option as it works replacing the active material for the surfaces, not adding a new pass. This commit adds the material_overlay property to GeometryInstance3D (and therefore MeshInstance3D), having the same reach as material_override (that is, all surfaces) but adding a new material pass on top of the active materials, instead of replacing them.
2022-01-05Merge pull request #56220 from ↵JFonS
williamd67/GPULightmapper-implement-sky-ambient-light GPULightmapper: react on sky ambient properties
2022-01-05Merge pull request #56208 from williamd67/GPULightmapper-sky-upside-downRémi Verschelde
2022-01-05Merge pull request #56278 from GanidhuAbey/dof_msaa_bugRémi Verschelde
2022-01-05Fix incorrect format and buffer used for bone weights.bruvzg
2022-01-04Merge pull request #55332 from Calinou/voxelgidata-tweak-default-dynamic-rangeRémi Verschelde
Decrease the default dynamic range in VoxelGIData to 2.0
2022-01-04Merge pull request #54791 from NHodgesVFX/masterRémi Verschelde
[4.x] add more OpenGL attributes
2022-01-04Merge pull request #56486 from Chaosus/shader_fix_render_modeYuri Roubinsky
2022-01-04Merge pull request #55790 from Calinou/renderingserver-add-device-type-getterRémi Verschelde
Add `RenderingServer.get_video_adapter_type()` method
2022-01-04Merge pull request #56305 from Calinou/rename-lod-thresholdRémi Verschelde
2022-01-04Merge pull request #55386 from Calinou/allow-disable-depth-prepassRémi Verschelde
2022-01-04Fix `world_vertex_coords` render mode usage in the shadersYuri Roubinsky
2022-01-04Merge pull request #55418 from Calinou/voxelgi-dynamic-map-use-16-bit-depthJFonS
Use 16-bit depth to improve dynamic VoxelGI performance
2022-01-04Merge pull request #56477 from Chaosus/fix_device_crashYuri Roubinsky
2022-01-04Merge pull request #51206 from clayjohn/Vulkan-ASSGIRémi Verschelde
2022-01-04Merge pull request #54409 from clayjohn/VULKAN-glow-flickerRémi Verschelde
2022-01-04Add a check for device in shader lang to prevent startup editor crashYuri Roubinsky
2022-01-04Merge pull request #55424 from Calinou/voxelgi-remove-unused-struct-fieldsRémi Verschelde
Remove unused struct fields in VoxelGIData
2022-01-04Merge pull request #55422 from Calinou/gi-shader-remove-unused-defineRémi Verschelde
Remove unused code in GI shaders
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Add a shader warning when the uniform buffer limit is exceededYuri Roubinsky
2022-01-03Merge pull request #56190 from Chaosus/shader_varying_pass_to_funcRémi Verschelde
2022-01-03Merge pull request #56187 from Chaosus/fix_default_textureRémi Verschelde
2022-01-03Merge pull request #56370 from Chaosus/fix_shader_instance_uniformRémi Verschelde
2022-01-02Fix various typosluz paz
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
2021-12-31Fix incorrect updating global uniform bufferYuri Roubinsky
2021-12-29Rename Lod Threshold to Mesh Lod ThresholdHugo Locurcio
This makes it more obvious that the setting only affects mesh LOD, not manual (H)LOD achieved using visibility ranges.
2021-12-26fixed depth of field bug with msaaGanidhuAbey
2021-12-24GPULightmapper: react on sky ambient propertiesWilliam Deurwaarder
The panorama texture creation, used by GPULightmapper, has been adjusted to also take the sky ambient properties into account.
2021-12-24GPULightmapper: cube to panorama copy function flip y based on flagWilliam Deurwaarder
Cube to panorama copy function unconditionally flipped y, while other copy functions flipped y base on FLAG_FLIP_Y. Condition is added.
2021-12-23Allow pass varyings as out param to the function, when it's possibleYuri Roubinsky
2021-12-23Fix default texture of unassigned sampler with hint_normalYuri Roubinsky
2021-12-21Refactor render_mode in shaders, forbid declaring duplicatesYuri Roubinsky
2021-12-20[Headless] Workaround texture load failure.Fabio Alessandrelli
Some assets are loaded based on OS/server feature detection, namely textures (but potentially others). The ResourceImporter will fail to load a texture if the OS reports not supporting it. The OS, in turn, checks texture format support via the RenderingServer. This commit makes the dummy rasterizer report known texture formats as supported (although unused), so that scenes can be correctly loaded when they include references to imported textures.
2021-12-16Merge pull request #55970 from Chaosus/shader_fix_struct_warningRémi Verschelde
2021-12-15Fix struct usage passing to shader warning systemYuri Roubinsky
2021-12-15Rename shader hint `filter_anisotropy` to `filter_anisotropic`Yuri Roubinsky
2021-12-15Fix shader array parsing in variable declarationYuri Roubinsky
2021-12-15Merge pull request #55903 from Chaosus/shader_structRémi Verschelde
2021-12-15Merge pull request #55913 from Chaosus/fix_shader_crashRémi Verschelde
2021-12-15Rename shader hint `filter_aniso` to `filter_anisotropy`Yuri Roubinsky
2021-12-13Fix shader crash when assigned array from struct to a variable by indexYuri Roubinsky
2021-12-13Allow declaring multiple members in one expression in shader structsYuri Roubinsky
2021-12-11Restore shader parsing errors with lack of semicolon in a blockYuri Roubinsky
2021-12-10Merge pull request #55736 from nekomatata/physics-apply-forcesCamille Mohr-Daurat
Improve RigidDynamicBody force and torque API
2021-12-10Merge pull request #55773 from nekomatata/fix-raycast-ccdCamille Mohr-Daurat
Fix rigid body ray cast CCD in 2D and 3D Godot Physics
2021-12-10Fix rigid body ray cast CCD in 2D and 3D Godot PhysicsPouleyKetchoupp
For 2D: Raycast CCD now works the same as in 3D, it changes the body's velocity to place it at the impact position instead of generating a contact point that causes a wrong push back. For both 2D and 3D: The raycast CCD process reads and modifies body velocities, so it needs to be moved to pre_solve() instead of setup() to be processed linearly on the main thread, otherwise multithreading can cause some CCD results to be randomly lost when multiple collisions occur.
2021-12-10Improve RigidDynamicBody force and torque APIPouleyKetchoupp
Makes the API for forces and impulses more flexible, easier to understand and harmonized between 2D and 3D. Rigid bodies now have 3 sets of methods for forces and impulses: -apply_impulse() for impulses (one-shot and time independent) -apply_force() for forces (time dependent) applied for the current step -add_constant_force() for forces that keeps being applied each step Also updated the documentation to clarify the different methods and parameters in rigid body nodes, body direct state and physics servers.