summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-03-11Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde
`DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-11Merge pull request #58965 from TechnoPorg/remove-stex-occurrencesRémi Verschelde
Remove more occurrences of "stex"
2022-03-10Remove more occurrences of "stex"TechnoPorg
2022-03-10Discern between virtual and abstract class bindingsreduz
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
2022-03-08Add `_get_func_code/_is_available` virtual functions to custom nodesYuri Roubinsky
2022-03-07Merge pull request #58750 from Chaosus/vs_varyingsRémi Verschelde
Add varying support to visual shaders
2022-03-07Merge pull request #58719 from Chaosus/vs_builtinsRémi Verschelde
Adds few more input/output built-ins to visual shader
2022-03-06Merge pull request #58788 from reduz/rename-streamtextureRémi Verschelde
Rename StreamTexture* to CompressedTexture*
2022-03-05Various code and documentation improvementskobewi
2022-03-05Rename StreamTexture* to CompressedTexture*reduz
* Its not and will not be used for streaming. * Streaming will be implemented in 4.1 and it will work different. * It makes more sense to be called CompressedTexture since it imports and compresses texture files.
2022-03-04Add varying support to visual shadersYuri Roubinsky
2022-03-04Animation: Silence false positive -Wstringop-overflow warningRémi Verschelde
And disable debug code which was wrongly left enabled.
2022-03-03Adds few more input/output built-ins to visual shaderYuri Roubinsky
2022-03-01Merge pull request #58548 from V-Sekai/lod_lightmapsJFonS
Allow automatic lod when importing 3D scenes with Static Lightmaps
2022-02-26Don't abort loading scene on missing dependencykobewi
2022-02-25Allow automatic lod when importing 3D scenes with Static LightmapsK. S. Ernest (iFire) Lee
Avoid the normal merge procedure when uv2s are different and makes generating LODs happen after the lightmap generation
2022-02-24Merge pull request #58496 from JFonS/fix_lm_crashRémi Verschelde
2022-02-24Add sanity checks to lightmap unwrap texel sizejfons
2022-02-22Use Filament specular models and parametrizationclayjohn
2022-02-22Merge pull request #58343 from aaronfranke/negative-shape-warningRémi Verschelde
2022-02-22Merge pull request #58344 from TokageItLab/fix-cubic-interpolate-with-loopRémi Verschelde
2022-02-21Merge pull request #58367 from V-Sekai/tileset_atlas_crash_fixRémi Verschelde
2022-02-20simplify calculation of max in grayscaleMarkus Sauermann
2022-02-20Fix nullptr error in _update_padded_texture on texture with no imageSaracenOne
2022-02-20Fixed cubic interpolate with loopSilc 'Tokage' Renew
2022-02-20Show an error when setting a negative size on a collision shapeAaron Franke
2022-02-19Fix crash when importing small GLTF meshHaoyu Qiu
2022-02-17Revert "Default to real-time radiance map filter for environment sky ↵clayjohn
reflections" This reverts commit 09563e4bd8fa4dda8802b3b48f111f3c1de499d8.
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-15Merge pull request #57931 from Calinou/sky-default-filter-realtimeRémi Verschelde
2022-02-15Merge pull request #57877 from bruvzg/subpixel_gl_posRémi Verschelde
2022-02-15Merge pull request #58100 from Calinou/environment-clamp-sky-contributionRémi Verschelde
Clamp environment light sky contribution to the [0.0; 1.0] range
2022-02-14Clamp environment light sky contribution to the [0.0; 1.0] rangeHugo Locurcio
The value is already clamped in the editor, but it wasn't being clamped when the value was set via code. Values outside the [0.0; 1.0] range can result in broken rendering.
2022-02-14Improve completion scroll bar visibility in the script editorHugo Locurcio
This makes the scroll bar bar thicker and more opaque (roughly matching the editor theme's scroll bar by default).
2022-02-14Merge pull request #58008 from Geometror/increase-checkerboard-contrastRémi Verschelde
2022-02-13Merge pull request #57954 from TokageItLab/refactor-cubic-interpolateRémi Verschelde
Implement `cubic_interpolate()` as MathFunc for refactoring
2022-02-12Add sub-pixel glyph positioning support.bruvzg
2022-02-12Merge pull request #57993 from Calinou/sky-tweak-default-valuesRémi Verschelde
2022-02-12Increase checkerboard texture contrastHendrik Brucker
2022-02-12Merge pull request #57319 from IgorKordiukiewicz/sprite3d-error-messageRémi Verschelde
2022-02-12Implement cubic_interpolate() as MathFunc for refactoringSilc 'Tokage' Renew
2022-02-12Merge pull request #57641 from Geometror/compilation-time-improvements-1Rémi Verschelde
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-12Tweak default ProceduralSkyMaterial and PhysicalSkyMaterial appearanceHugo Locurcio
- Tweak colors to be less saturated and more balanced (in terms of hue). The cool blue sky is balanced by a warm brown ground, which makes reflections look closer to how they'd look like when using an HDRI panorama texture. - Make the ground color dark on both ProceduralSkyMaterial and PhysicalSkyMaterial to reduce indoor light leaking, especially when using GI. - Tweak the PhysicalSkyMaterial colors to be as close as possible to ProceduralSkyMaterial (with the default sun orientation). - Tweak editor environment defaults to be identical to the default ProceduralSkyMaterial colors. Previously, the default editor sky color was different from the colors of a newly created ProceduralSkyMaterial resource. Both new skies were tested without GI, with SDFGI and with VoxelGI. They were tuned to look best when using ACES tonemapping with a whitepoint set to 6, but they still look good with other tonemapping operators.
2022-02-11Fix SelfList::remove error when animating Sprite3DIgor Kordiukiewicz
2022-02-11Add an explicit way to remove a theme typeYuri Sizov
2022-02-10Default to real-time radiance map filter for environment sky reflectionsHugo Locurcio
This makes radiance map updates much faster, which improves performance when rotating the sun in the editor or at run-time. This real-time filter is also much less prone to "fireflies" that can appear when using a sky with a bright sun.
2022-02-10Merge pull request #39965 from Calinou/tweak-sdfgi-defaultsRémi Verschelde
2022-02-10Merge pull request #57707 from Calinou/sdfgi-tweak-default-num-cascadesRémi Verschelde
2022-02-09Merge pull request #57813 from MisoMosiSpy/disabled_iconsRémi Verschelde