summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2022-08-05Merge pull request #59844 from Calinou/rename-shader-param-methodsRémi Verschelde
2022-08-04Rename shader parameter uniform setter/getter methods for consistencyHugo Locurcio
`shader_uniform` is now consistenly used across both per-shader and per-instance shader uniform methods. This makes methods easier to find in the class reference when looking for them.
2022-08-04Fix SoftDynamicBody3D normalsRicardo Buring
Store normal vector in A2B10G10R10 format.
2022-08-03Allow more precise adjustments of orthogonal/frustum size in Camera3DHugo Locurcio
2022-08-02Use global coordinates for particles by defaultHugo Locurcio
Particles won't move or rotate anymore with the node (or its parents) by default. This new default behavior is generally more suited to most use cases. Local coordinates can still be enabled on a per-node basis. This affects both 2D and 3D particles, and both CPU and GPU-based particles.
2022-08-01Change default material alpha scissor threshold to 0.5Hugo Locurcio
This makes the default behavior consistent between SpriteBase3D, BaseMaterial3D and imported glTF scene materials. Alpha scissor threshold property hints now allows for more precise adjustments as well.
2022-07-31Tweak VoxelGI defaults for better qualityHugo Locurcio
Overall brightness is similar to the previous settings, but lighting now fades off more naturally and reflections feature indirect lighting. Performance is identical. - Enable Use Two Bounces by default. - Decrease Propagation to 0.5 to compensate for the second bounce.
2022-07-31Add meter suffix to ShapeCast3D margin propertyMarcus Elg
2022-07-30Don't move nonexistent debug shapesRicardo Buring
2022-07-30Fix `ShapeCast3D` creating runtime shape in editorPrecisionRender
2022-07-29Swap arguments of ResourceSaver.save()kobewi
2022-07-29Merge pull request #63595 from reduz/remove-signal-connect-bindsRémi Verschelde
Remove Signal connect binds
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-29Merge pull request #62601 from smix8/navigation_3d_debug_4.xRémi Verschelde
2022-07-29Add more detailed Navigation Debug Visualizationsmix8
- Adds more customization options to ProjectSettings. - Displays navregion edge connections and navigation polygon edges in editor and at runtime. - Majority of debug code moved from SceneTree to NavigationServer. - Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
2022-07-29Merge pull request #63161 from PrecisionRender/masterRémi Verschelde
Add `ShapeCast3D` node
2022-07-28Add ShapeCast3D nodePrecisionRender
2022-07-28Merge pull request #57698 from ↵Rémi Verschelde
bluenote10/feature/rename_translated_to_translated_local
2022-07-27Merge pull request #63138 from TokageItLab/normalize-position-trackRémi Verschelde
Add position track normalization to importer retarget
2022-07-27Merge pull request #63440 from YuriSizov/joints-six-degrees-of-orderRémi Verschelde
2022-07-27Tweak Decal distance fade defaults and add property hintsHugo Locurcio
The new default values are more usable in real world scenarios when smooth fading of distant decals is desired for performance reasons. The Decal distance fade property hints were adjusted based on the GeometryInstance3D visibility range fade property hints. `or_greater` was also added to allow specifying larger values if needed.
2022-07-26add position track normalization & post process key value for retargetSilc Renew
2022-07-25Fix missing Distance Fade category in OmniLight3D/SpotLight3D inspectorHugo Locurcio
2022-07-25Group properties of Generic6DOFJoint slightly betterYuri Sizov
2022-07-25Remove ThreadWorkPool, replace by WorkerThreadPoolJuan Linietsky
The former needs to be allocated once per usage. The later is shared for all threads, which is more efficient. It can also be better debugged.
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-25Merge pull request #63219 from reduz/implement-vector4-projectionRémi Verschelde
2022-07-23Implement Vector4, Vector4i, Projectionreduz
Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-23Implement BPM supportreduz
Based on #62896, only implements the BPM support part. * Implements BPM support in the AudioStreamOGG/MP3 importers. * Can select BPM/Bar Size and total beats in a song file, as well as edit looping points. * Looping is now BPM aware * Added a special importer UI for configuring this. * Added a special preview showing the audio waveform as well as the playback position in the resource picker. * Renamed `AudioStream::instance` to `instantiate` for correctness.
2022-07-18Use integer types in Image and ImageTexture methodsFireForge
- Image.blit_rect() - Image.blit_rect_mask() - Image.blend_rect() - Image.blend_rect_mask() - Image.fill_rect() - Image.get_used_rect() - Image.get_rect() - ImageTexture.set_size_override()
2022-07-18Merge pull request #61590 from Haydoggo/path-follow-fixRémi Verschelde
2022-07-16add rest fixer to importer retargetSilc Renew
2022-07-16rename translate(d) to translate(d)_local in Transform 2D/3DFabian Keller
2022-07-15Use BitField hint for the TextServer enums. Add missing parts for BitField ↵bruvzg
support to the GDextension API.
2022-07-14prevent crash on NaN offset in path_follower 2d and 3dHayden Leete
2022-07-12Remove unused hintskobewi
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-07-05Clamp VoxelGI extents to reasonable values to avoid breaking bakingHugo Locurcio
This also prevents crashes when resizing a VoxelGI's extents to 0 on any axis.
2022-07-04Use custom key structs, instead of raw hashes for the Label3D and TextMesh, ↵bruvzg
to avoid potential hash collisions.
2022-07-03Merge pull request #62677 from akien-mga/particles-fix-warnings-updateRémi Verschelde
2022-07-03Particles: Fix missing configuration warning updatesRémi Verschelde
Fixes #33488.
2022-07-03Fix no `hint_string` for `frame` property in `AnimatedSprite`skleonc
2022-07-02Merge pull request #61610 from ↵Rémi Verschelde
TokageItLab/importer-retarget-registered-gdhumanoid
2022-07-01Merge pull request #50755 from ↵Rémi Verschelde
foxydevloper/add-global-position-and-global-rotation Add global_position and global_rotation to Node3D
2022-07-01Clamp Decal's upper/lower fade to positive valuesHugo Locurcio
Negative easing values result in broken rendering.
2022-07-01Add global_position and global_rotation to Node3Dfoxydevloper
2022-07-01implement bone renamer in importerSilc Renew
2022-06-30Merge pull request #62527 from smix8/navigation_agent_property_groupsRémi Verschelde
Group NavigationAgent properties
2022-06-29Merge pull request #62084 from smix8/path_debug_options_4.xRémi Verschelde
Add Path2D/3D debug options
2022-06-29Group NavigationAgent propertiessmix8
Groups the ill-defined NavigationAgent properties between pathfinding and avoidance to make it more clear which property affects what.