summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
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
2022-02-09Updated alpha value for disabled icons in default theme.MisoMosiSpy
2022-02-08Merge pull request #57627 from JFonS/occluder_improvementsRémi Verschelde
2022-02-08Use source image format when creating padded textureJoJoX
2022-02-08Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
2022-02-08Refactor some object type checking code with `cast_to`Rémi Verschelde
Less stringly typed logic, and less String allocations and comparisons.
2022-02-07Improvements and fixes to occludersjfons
Improvements: * Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D, BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old Occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders. * Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default. * Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window. Fixes: * Fixed saving of occluder files after bake. * Fixed a small error where occluders didn't correctly update in the rendering server. Bonus content: * Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders. * Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.
2022-02-07Merge pull request #57741 from Chaosus/vs_fixesRémi Verschelde
2022-02-07Merge pull request #57725 from jmb462/missing-sname-theme-settersRémi Verschelde
2022-02-07Add some more fixes to visual shaderYuri Roubinsky
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-06Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D`Yuri Roubinsky
2022-02-06Add missing SNAME macro optimization in some function callsjmb462