summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2021-09-21Merge pull request #52466 from tcoxon/fix_43733_4.0Rémi Verschelde
Prevent shaders from generating code before the constructor finishes.
2021-09-21Prevent shaders from generating code before the constructor finishes.Tom Coxon
Fixes #43733: "creating SpatialMaterial in a separate thread creates invalid shaders (temporarily)." The bug occurred because various setters called in materials' constructors add materials to queues that are processed on the main thread. This means that when the materials are created in another thread, they can be processed on the main thread before the constructor has finished. The fix adds a flag to affected materials that prevents them from being added to the queue until their constructors have finished initialising all the members.
2021-09-20Merge pull request #52151 from CaptainProton42/fix-y-billboard-shearRémi Verschelde
Fix y billboard shear when rotating camera
2021-09-20Add FontData cache index check, remove excessive loop.bruvzg
2021-09-16Merge pull request #52681 from nekomatata/rename-rigid-bodyCamille Mohr-Daurat
Rename RigidBody to RigidDynamicBody and SoftBody to SoftDynamicBody
2021-09-16Rename RigidBody to RigidDynamicBody and SoftBody to SoftDynamicBodyPouleyKetchoupp
2021-09-15Merge pull request #52679 from nekomatata/world-boundary-shapeCamille Mohr-Daurat
Rename WorldMarginShape to WorldBoundaryShape
2021-09-14Clean convex hull decomposition codePouleyKetchoupp
Remove unnecessary conversion between triangle data and vertex data whenever possible.
2021-09-14Rename WorldMarginShape to WorldBoundaryShapePouleyKetchoupp
2021-09-14Merge pull request #52266 from AndreaCatania/collRémi Verschelde
2021-09-14Merge pull request #52658 from groud/some_tilemap_fixesGilles Roudière
Fix transform of TileMap nodes and tilemap selection
2021-09-14Fix transform of TileMap nodes and tilemap selectionGilles Roudière
2021-09-14Remove unused ImageTexture functionsHaoyu Qiu
* `_resource_path_changed()` does nothing * `_reload_hook()` has been unused since the beginning of GLES3 renderer
2021-09-13Merge pull request #51805 from skysphr/scrollbar-icons-pressedHugo Locurcio
Added increment_pressed and decrement_pressed icons to scrollbars
2021-09-13Merge pull request #52298 from DeleteSystem32/meshlib-transformRémi Verschelde
implement individual mesh transform for meshlibrary items
2021-09-108 uvs for glTF2, URI decode and Vertex Custom api.Lyuma
Add glTF2 uri decode for paths. Add vertex custom apis. Add scene importer api. Change Color to float; add support for float-based custom channels in SurfaceTool and EditorSceneImporterMesh Co-authored-by: darth negative hunter <thenegativehunter2@users.noreply.github.com>
2021-09-10Merge pull request #52433 from groud/document_tilesMax Hilbrunner
Tiles renames and documentation
2021-09-09Merge pull request #50383 from ↵Juan Linietsky
Calinou/standardmaterial3d-improve-simple-parallax Improve the appearance of simple parallax in StandardMaterial3D
2021-09-09Merge pull request #52284 from Calinou/tscn-groups-write-single-lineJuan Linietsky
Write node groups on a single line when saving a `.tscn` file
2021-09-09implement individual mesh transform for meshlibrary itemsVincent
2021-09-08Tiles renames/bugfixing and documentationGilles Roudière
2021-09-08Improve collision generation usability in the new 3D scene import workflow.AndreaCatania
With this PR it's possible to add a collision during the Mesh import, directly in editor. To generate the shape is possible to chose between the following options: - Decompose Convex: The Mesh is decomposed in one or many Convex Shapes (Using the VHACD library). - Simple Convex: Is generated a convex shape that enclose the entire mesh. - Trimesh: Generate a trimesh shape using the Mesh faces. - Box: Add a primitive box shape, where you can tweak the `size`, `position`, `rotation`. - Sphere: Add a primitive sphere shape, where you can tweak the `radius`, `position`, `rotation`. - Cylinder: Add a primitive cylinder shape, where you can tweak the `height`, `radius`, `position`, `rotation`. - Capsule: Add a primitive capsule shape, where you can tweak the `height`, `radius`, `position`, `rotation`. It's also possible to chose the generated body, so you can create: - Rigid Body - Static Body - Area
2021-09-07Merge pull request #52237 from ellenhp/polyphonyJuan Linietsky
Add optional polyphonic playback to built-in audio player nodes
2021-09-07Add polyphony to Audio Stream Player nodesEllen Poe
2021-09-07Implement properties arrays in the Inspector.Gilles Roudière
2021-08-31Write node groups one a single line when saving a `.tscn` fileHugo Locurcio
This makes `.tscn` files more readable by ensuring sections are always written on a single line.
2021-08-29Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez
2021-08-28Merge pull request #49664 from nekomatata/fix-editable-duplicatedMax Hilbrunner
Fix loading packed scene with editable children at runtime
2021-08-27Fix loading packed scene with editable children at runtimePouleyKetchoupp
At runtime, packed scenes with nodes marked as editable instance where saved with node type tags, which prevented the scene to be then loaded as an instance, causing duplicated nodes in the tree. This change ensures nodes marked as editable instances and their owned children are properly set as instances. That doesn't make a difference in the editor, since such nodes where already set as instances based on their instance state, but it helps at runtime where instance states are disabled. Co-authored-by: latorril <latorril@gmail.com>
2021-08-27Require AudioStream::mix to return the number of frames successfully mixedEllen Poe
2021-08-27Merge pull request #51908 from bruvzg/msdf_fonts2K. S. Ernest (iFire) Lee
Make FontData importable resource. Add multi-channel SDF font rendering.
2021-08-27Merge pull request #51896 from nekomatata/restore-ray-shapeCamille Mohr-Daurat
Refactor RayShape and rename to SeparationRayShape
2021-08-27Makes FontData importable resource.bruvzg
Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
2021-08-27Fix y billboard shear when rotating cameraJohn Wigg
Fixes shear effect with `BILLBOARD_FIXED_Y` when the camera is rotated around the z-axis by rotating the mesh correctly into view space. Also removes shearing effects that occur when rotating the mesh by excluding the model rotation and scale from the billboard matrix.
2021-08-26Fix misspelled "overriden"Haoyu Qiu
In recent GDVIRTUAL PR and SkeletonModification3DJiggle doc.
2021-08-25Merge pull request #51995 from drcd1/sphere-mesh-normals-fixJFonS
Fixes the normals of SphereMesh when the sphere/hemisphere is oblong
2021-08-25Merge pull request #48374 from Calinou/gradienttexture-add-hdr-propertyHugo Locurcio
Add an `use_hdr` property to GradientTexture to allow storing HDR colors
2021-08-24Merge pull request #52024 from V-Sekai/anim-lengthK. S. Ernest (iFire) Lee
Calculate proper animation length.
2021-08-24Calculate proper animation length.K. S. Ernest (iFire) Lee
2021-08-24Rename RayShape to SeparationRayShapePouleyKetchoupp
Makes it clearer that it's used for special cases when picking a collision shape.
2021-08-24Rename slips_on_slope to slide_on_slopePouleyKetchoupp
Also added some precision to the documentation.
2021-08-24Restore RayShape as a regular shape typePouleyKetchoupp
Partial revert from previously removing ray shapes completely, added back as a shape type but without the specific character controller code.
2021-08-23Restore syntax highlightingkobewi
2021-08-22Merge pull request #51991 from requizm/fix/51990K. S. Ernest (iFire) Lee
Fix 3d animations doesn't play
2021-08-22Fixes the normals of SphereMesh when the sphere/hemisphere is oblongDuarte David
2021-08-22Fix 3d animations doesn't playrequizm
Add comment Fix ff
2021-08-22Merge pull request #50434 from QbieShay/particle-minmaxK. S. Ernest (iFire) Lee
Particle params are expressed as min-max rather than value+range AND separate axes scaling
2021-08-22Merge pull request #51886 from Geometror/fix-layout-editor-file-dialogMichael Alexsander
Fix ItemList layout (+EditorFileDialog)
2021-08-22moved particle parameters to minmax and split scale axisQbieShay
This commit adds quite a chunk of modifications to particles - particle (value + randomness) now use min and max instead - passing a curveXYZtexture is now possible and will scale particles per-axis - CPUParticle3D have an optional parameter to split the scale curve per-axis
2021-08-22Merge pull request #51700 from Geometror/fix-color-pickerK. S. Ernest (iFire) Lee
Reimplement ColorPicker presets