summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2023-01-27Fix several shader preprocessor include issuesbitsawer
2023-01-27Merge pull request #62499 from fire/gltf-binary-img-compressionRémi Verschelde
Handle gltf binary images
2023-01-27Handle gltf binaryK. S. Ernest (iFire) Lee
[ Ignore and Warn | Extract Textures (default) | Optimize Loading Embedded as Basisu ] Enable compressed mip maps from Basis Universal for faster compressions. Increase the quality of Basis to avoid corruption. To keep compatibility use the first mip of the previous internal Godot format. Because texture names may have invalid filename characters, adds String::validate_filename to sanitize filenames for import pipeline use.
2023-01-27Merge pull request #71907 from TokageItLab/change-animated-sprite-apiRémi Verschelde
Make `AnimatedSprite`'s playback API consistent with `AnimationPlayer`
2023-01-26Don't change region_rect when setting texturekobewi
2023-01-26Merge pull request #72124 from YuriSizov/gui-stylebox-texture-is-just-styleboxRémi Verschelde
Remove size restrictions from `StyleBoxTexture`
2023-01-26Merge pull request #68034 from Klowner/surfacetool-generate-normalsRémi Verschelde
Make SurfaceTool.generate_normals() behave consistently with smoothing groups
2023-01-26Make SurfaceTool.generate_normals() behave in a consistent manner in regard ↵Mark Riedesel
to smoothing groups, imply group 0 is flat
2023-01-26Add derivative functions with precision to shadersYuri Rubinsky
2023-01-26Remove size restrictions from StyleBoxTextureYuri Sizov
2023-01-26[SystemFont] Add missing MSDF properties.bruvzg
2023-01-26Make AnimatedSprite's playback API consistent with AnimationPlayerSilc Renew
2023-01-24PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"Aaron Franke
2023-01-24Merge pull request #71878 from bitsawer/fix_shader_dependenciesRémi Verschelde
Fix shader include dependency handling
2023-01-23Merge pull request #70377 from dsnopek/server-export-mk2Rémi Verschelde
Add "dedicated server" export mode which can strip unneeded visual resources
2023-01-23Add "dedicated server" export mode which can strip unneeded visual resourcesDavid Snopek
2023-01-23Merge pull request #57606 from SaracenOne/update_on_reimportRémi Verschelde
Update instances of scenes which have been reimported.
2023-01-23Merge pull request #71801 from akien-mga/codespell-en-GB-to-en-USRémi Verschelde
Convert en_GB spelling to en_US with codespell
2023-01-23Merge pull request #71906 from reduz/simplify-polyphonic-stream-playerRémi Verschelde
Simplify AudioStreamPolyphonic
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-23Simplify AudioStreamPolyphonicJuan Linietsky
* Make AudioStreamPolyphonic not requre a polling thread (simpler, faster) * Improve error reporting in AudioStreamPlayer*::get_stream_playback() error reporting to improve usability.
2023-01-23Merge pull request #71778 from vortexofdoom/fix-dof-blur-transitionRémi Verschelde
allowed negative DoF blur transition in the editor
2023-01-23Merge pull request #71214 from SekoiaTree/remove_mesh_surface_compatRémi Verschelde
Remove compatibility code for Mesh surfaces
2023-01-22Fix shader include dependency handlingbitsawer
2023-01-22Merge pull request #71686 from YuriSizov/stylebox-min-size-but-betterRémi Verschelde
Clean-up, harmonize, and improve StyleBox API
2023-01-22Merge pull request #69619 from m4gr3d/address_android_editor_crashes_mainRémi Verschelde
Address Android editor crashes
2023-01-22Add AudioStreamPolyphonic to make it easier to play polyphonic sound from codeJuan Linietsky
* This new audio stream allows to play multiple sounds and control them over time from code. * It greatly simplifies tasks such as generative music (music generated from code) or audio. This new type of stream was added with the goal of fixing audio blending in AnimationPlayer and AnimationTree, but can be used by others for their regular audio needs. Does not fix anything currently, but should help implement #69758 properly. Some demo code of how to use this: ```GDScript var player = $SomeNode as AudioStreamPlayer player.stream = AudioStreamPolyphonic.new() var playback = player.get_stream_playback() as AudioStreamPlaybackPolyphonic var id = playback.play_stream(preload("res://Clip1.ogg")) await get_tree().create_timer(1).timeout playback.set_stream_volume(id,-12) # Set volume to half after one second await get_tree().create_timer(2).timeout var id2 = playback.play_stream(preload("res://Clip2.ogg")) # 2 seconds later, start another clip await get_tree().create_timer(1).timeout playback.stop_stream(id) # 1 second later, kill the first clip playback.set_stream_pitch_scale(id2,1.5) # Make the second clip go 50% faster ```
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-21Merge pull request #71687 from reduz/support-script-class-name-in-efsRémi Verschelde
Support script global resource name in EditorFileSystem
2023-01-21Merge pull request #71797 from reduz/cleanup-shader-parameter-remapRémi Verschelde
Clean up shader parameter remap
2023-01-21Support script global resource name in EditorFileSystemJuan Linietsky
* Works for binary and text files. * Makes EditorQuickOpen work with custom resources again. * Information is cached and easily accessible. Properly fixes #66179. Supersedes #66215 and supersedes #62417 **WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
2023-01-21Clean up shader parameter remapJuan Linietsky
This PR is a follow up to #64092, which fixed important issues but it was implemented in an overly complex and inefficient way (because it forced the default code path to always go through string operations). This cleans up all the shader parameter code. This fixes #54336. Also fixes #56219 because, as the new code never queries the RenderingServer on load, potential deadlocks are avoided. **NOTE**: materials saved between #62972 and #64092 will no longer work and will need to be resaved in an earlier version.
2023-01-21Merge pull request #63667 from AntonioDell/bugfix/63549Rémi Verschelde
fix(editor): Remove some MeshLibrary editor updates
2023-01-20allowed negative DoF blur transition in the editorDaniel Larson
2023-01-20Fix code generation for ProximityRange node in visual shaderYuri Rubinsky
2023-01-20Some refactoring for visual shader texture functionsYuri Rubinsky
2023-01-19Merge pull request #70602 from ↵Rémi Verschelde
Calinou/environment-no-sky-hide-ambient-light-properties Hide Ambient Light properties in Environment inspector depending on mode
2023-01-19Merge pull request #71598 from bruvzg/gdscript_bidi_overrideRémi Verschelde
Implement BiDi override mode for GDScript source.
2023-01-19Merge pull request #44596 from KoBeWi/🧹🧹🧹Rémi Verschelde
Cleanup unused engine code v2
2023-01-19Merge pull request #71565 from RedworkDE/doc-arraymesh-add-surfaceRémi Verschelde
Fix LOD sort order; checks in add_surface; and document all parameters of `ArrayMesh::add_surface_from_arrays`
2023-01-19Clean-up, harmonize, and improve StyleBox APIYuri Sizov
- Make all margin properties follow the same naming convention (their getter and setter too). - Remove a virtual counterpart of `get_style_margin` from API. - Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
2023-01-19Cleanup unused engine code v2kobewi
2023-01-19Fix using Resource objects as keys in the `tres` formatLife4gal
Fixes #57506.
2023-01-19Fix LOD sort order; checks in add_surface; and document all parameters of ↵RedworkDE
`ArrayMesh::add_surface_from_arrays` Also clarify some related documentation and expose the misssing `ArrayFormat::ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY`
2023-01-18Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTUREclayjohn
in favour of texture hints
2023-01-18Implement BiDi override mode for GDScript source.bruvzg
2023-01-17Merge pull request #71529 from clayjohn/IM-octRémi Verschelde
Update ImmediateMesh to use octohedral encoded normals
2023-01-17Fixes incorrect caption for TextureParameterTriplanarNong Van Tinh
2023-01-16Update ImmediateMesh to use octohedral encoded normalsclayjohn
2023-01-16Update instances of scenes which have been reimported.SaracenOne