summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2021-08-17Merge pull request #51651 from pycbouh/editor-merge-custom-themeRémi Verschelde
Add support for partial custom editor themes
2021-08-16Merge pull request #51368 from ↵Rémi Verschelde
TwistedTwigleg/GSOC_2020_Working_Branch_IK_SQUASHED New and improved IK system for Skeleton3D - Squashed!
2021-08-16Fix incorrect inheritance of `VisualShaderNodeParticleAccelerator`Yuri Roubinsky
2021-08-16Merge pull request #50159 from Calinou/standardmaterial3d-add-shader-commentRémi Verschelde
Add a comment at the top of generated shaders
2021-08-16Merge pull request #51608 from clayjohn/Vulkan-Panorama-sky-hintRémi Verschelde
Use hint_albedo in SkyMaterials
2021-08-16Changes the icon of node arranger in GraphEdit/VisualScript/VisualShaderUmang Kalra
2021-08-16Add a comment at the top of generated shadersHugo Locurcio
This comment is useful to determine the origin of ShaderMaterials converted from built-in material types (such as CanvasItemMaterial or StandardMaterial3D). The Godot version is also included in case the shader needs to be regenerated with a newer engine version.
2021-08-15Added missed limiters for Visual Shader node enumsYuri Roubinsky
2021-08-14New and improved IK system for Skeleton3DTwistedTwigleg
This PR and commit adds a new IK system for 3D with the Skeleton3D node that adds several new IK solvers, as well as additional changes and functionality for making bone manipulation in Godot easier. This work was sponsored by GSoC 2020 and TwistedTwigleg Full list of changes: * Adds a SkeletonModification3D resource * This resource is the base where all IK code is written and executed * Adds a SkeletonModificationStack3D resource * This node oversees the execution of the modifications and acts as a bridge of sorts for the modifications to the Skeleton3D node * Adds SkeletonModification3D resources for LookAt, CCDIK, FABRIK, Jiggle, and TwoBoneIK * Each modification is in it's own file * Several changes to Skeletons, listed below: * Added local_pose_override, which acts just like global_pose_override but keeps bone-child relationships intract * So if you move a bone using local_pose_override, all of the bones that are children will also be moved. This is different than global_pose_override, which only affects the individual bone * Internally bones keep track of their children. This removes the need of a processing list, makes it possible to update just a few select bones at a time, and makes it easier to traverse down the bone chain * Additional functions added for converting from world transform to global poses, global poses to local poses, and all the same changes but backwards (local to global, global to world). This makes it much easier to work with bone transforms without needing to think too much about how to convert them. * New signal added, bone_pose_changed, that can be used to tell if a specific bone changed its transform. Needed for BoneAttachment3D * Added functions for getting the forward position of a bone * BoneAttachment3D node refactored heavily * BoneAttachment3D node is now completely standalone in its functionality. * This makes the code easier and less interconnected, as well as allowing them to function properly without being direct children of Skeleton3D nodes * BoneAttachment3D now can be set either using the index or the bone name. * BoneAttachment3D nodes can now set the bone transform instead of just following it. This is disabled by default for compatibility * BoneAttachment3D now shows a warning when not configured correctly * Added rotate_to_align function in Basis * Added class reference documentation for all changes
2021-08-14Merge pull request #51660 from AnilBK/use-short-functionsRémi Verschelde
Use get_global_* functions instead of using transforms.
2021-08-14Merge pull request #50147 from aaronfranke/disable-node3dRémi Verschelde
Disable Node3D when compiling without 3D and fix disable_3d option
2021-08-14Use get_global_* functions instead of using transforms.Anilforextra
2021-08-14Merge pull request #51636 from Calinou/rename-lineshape2dRémi Verschelde
Rename LineShape2D to WorldMarginShape2D
2021-08-14Rename LineShape2D to WorldMarginShape2DHugo Locurcio
The new name makes it more obvious that it acts as an infinite plane, and is consistent with its 3D counterpart (WorldMarginShape3D).
2021-08-14Add support for partial custom editor themesYuri Sizov
2021-08-13Style: Cleanup code using `text_editor/completion/use_single_quotes`Rémi Verschelde
2021-08-13Disable Node3D when compiling without 3D and fix disable_3d optionAaron Franke
2021-08-13Merge pull request #50114 from Chaosus/vs_constantsRémi Verschelde
Few improvements for constants in visual shader
2021-08-13Merge pull request #51519 from Chaosus/vs_transform_operatorRémi Verschelde
Changed `TransformMult` node to `TransformOp` in visual shaders
2021-08-13Merge pull request #51607 from aaronfranke/includesRémi Verschelde
Fix some unnecessary includes
2021-08-13Add placeholder textures to ensure CameraTexture / CameraFeed always have ↵bruvzg
valid RIDs.
2021-08-12Use hint_albedo in SkyMaterialsclayjohn
2021-08-13Fix some unnecessary includesAaron Franke
2021-08-12Merge pull request #51580 from aaronfranke/particles-real-doubleRémi Verschelde
Use real_t and double where appropriate in Particles
2021-08-12Merge pull request #51572 from Chaosus/vs_fix_transform_instanceYuri Roubinsky
Fix printing error about unsupported modifier on `TransformUniform`
2021-08-12Fix printing error about unsupported modifier on `TransformUniform`Yuri Roubinsky
2021-08-12Use real_t and double where appropriate in ParticlesAaron Franke
2021-08-12Merge pull request #51532 from nekomatata/layer-mask-accessorsRémi Verschelde
Uniformize layer names, script methods and documentation
2021-08-12Uniformize layer names, script methods and documentationPouleyKetchoupp
- Back to 1-based layer names to make it clearer in editor UI - Layer bit accessors are renamed to layer value and 1-based too - Uniform errors and documentation in render and physics - Fix a few remaining collision_layer used in place of collision_mask
2021-08-12Fix regressions caused by recent particle spread refactorMorris Tabor
Caused by https://github.com/godotengine/godot/pull/47228 Same as https://github.com/godotengine/godot/pull/51553 but for master.
2021-08-12Merge pull request #51517 from Chaosus/precise_graphedit_port_handlingYuri Roubinsky
Better port handling connection for `GraphEdit`
2021-08-12Better port handling connection for `GraphEdit`Yuri Roubinsky
2021-08-11Make radius & height in CapsuleShape3D independentPouleyKetchoupp
Also changed CapsuleMesh to make settings consistent between render and physics.
2021-08-11Improve CapsuleShape2D size clampingkobewi
2021-08-11Changed `TransformMult` node to `TransformOp` in visual shadersYuri Roubinsky
2021-08-11Merge pull request #41634 from KoBeWi/the_independenceRémi Verschelde
2021-08-11Make radius & height in CapsuleShape2D independentTomasz Chabora
2021-08-11Improve NavigationMesh typing, parameter validation and documentationHaoyu Qiu
2021-08-11Few improvements for constants in visual shaderYuri Roubinsky
2021-08-11Merge pull request #51490 from nekomatata/clean-character-bodyRémi Verschelde
Remove infinite inertia and ray shapes from CharacterBody
2021-08-11Merge pull request #51178 from Geometror/layout-options-textline-textparagraphRémi Verschelde
Various text layout improvements (TextLine, TextParagraph, Label, TextServer)
2021-08-11Merge pull request #51442 from Geometror/styleboxflat-fake-aa-floatRémi Verschelde
StyleBox fake AA improvements (make anti aliasing size a float property)
2021-08-11Various text layout improvements (TextLine, TextParagraph, Label, TextServer)Hendrik Brucker
2021-08-10StyleBox fake AA improvements (aa_size float property)Hendrik Brucker
2021-08-10Merge pull request #49343 from theoway/node_auto_arrangement_graph_editK. S. Ernest (iFire) Lee
Node Auto Arrangement in GraphEdit/VisualScript/VisualShader
2021-08-11Automatic arrangement of nodes in VisualScript/VisualShaders editorsUmang Kalra
This PR and commit adds the functionality to arrange nodes in VisualScript/VisualShader editor. The layout generated by this feature is compact, with minimum crossings between connections & uniform horizontal & vertical gaps between the nodes. This work has been sponsored by GSoC '21. Full list of additions/changes: • Added arrange_nodes() method in GraphEdit module. • This method computes new positions for all the selected nodes by forming blocks and compressing them. The nodes are moved to these new positions. • Adding this method to GraphEdit makes it available for use in VisualScript/VisualShaders editors and its other subclasses. • Button with an icon has been added to call arrange_nodes() in GraphEdit. • This button is inherited by VisualScript/VisualShaders editors to invoke the method. • Undo/redo is functional with this method. • By using signals in arrange_nodes(), position changes are registered in undo/redo stack of the subclass that is using the method. • Metadata of the method has been updated in ClassDB • Method description has been added to class reference of GraphEdit
2021-08-10Remove infinite inertia and ray shapes from CharacterBodyPouleyKetchoupp
Infinite inertia: Not needed anymore, since it's now possible to set one-directional collision layers in order for characters to ignore rigid bodies, while rigid bodies still collide with characters. Ray shapes: They were introduced as a work around to allow constant speed on slopes, which is now possible with the new property in CharacterBody instead.
2021-08-10Merge pull request #51464 from hpnrep6/mesh-disable-deprecatedRémi Verschelde
Enclose deprecated components with `DISABLE_DEPRECATED` in Mesh
2021-08-10Merge pull request #51463 from SaracenOne/assign_path_fixRémi Verschelde
Assign embedded text resource path earlier to prevent error on embedded scripts
2021-08-10Enclose unused components in DISABLE_DEPRECATEDhpnrep6