summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2022-08-15Hide properties that have no effect in Label3D inspectorHugo Locurcio
- Use the disabled GI mode as Label3D can't contribute to GI in any way. - Improve Label3D class documentation.
2022-08-11Fix ORMMaterial3D not being taken into account by static VoxelGIHugo Locurcio
2022-08-11Merge pull request #64147 from ↵Rémi Verschelde
smix8/fix_navigationregion3d_debug_doublerender_4.x Fix NavigationRegion3D debug mesh rendering twice in Editor
2022-08-10Merge pull request #64160 from Calinou/tweak-label3d-defaultsRémi Verschelde
2022-08-10add get_depth() to KinematicCollision3D as same of 2DSilc Renew
2022-08-09Tweak Label3D defaults for better readabilityHugo Locurcio
- Increase font size and decrease pixel size. - The font is rendered at the same physical size, but is more detailed, which is visible when the camera is up close. - Add an outline to improve readability on mixed-color backgrounds. - The outline is fairly thick to ensure it doesn't get too grainy at a distance (without requiring MSDF or mipmaps on the default project font).
2022-08-09Fix NavigationRegion3D debug mesh rendering twice in Editorsmix8
Fixes double rendering of NavigationRegion3D debug mesh due to both 3DGizmo and runtime debug rendering the mesh at the same time.
2022-08-08Merge pull request #64034 from DarkKilauea/fix-nav-region-gizmoRémi Verschelde
2022-08-08Merge pull request #62571 from Calinou/gpuparticlescollisionsdf3d-add-bake-maskRémi Verschelde
2022-08-08Merge pull request #64068 from DarkKilauea/fix-region-travel-costRémi Verschelde
2022-08-07Fix typo when setting NavigationRegion travel_costJosh Jones
2022-08-07Add a shadow opacity property to Light3DHugo Locurcio
This can be used to make shadows translucent for a specific light. The light distance fade system also uses this to smoothly fade the shadow when the light fade transition distance is greater than 0.
2022-08-06Fix NavigationRegion3D gizmo's odd visual behaviorJosh Jones
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