summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2021-05-03Assorted fixes to UV unwrapping and GPU lightmapperjfons
Various fixes to UV2 unwrapping and the GPU lightmapper. Listed here for context in case of git blame/bisect: * Fix UV2 unwrapping on import, also cleaned up the unwrap cache code. * Fix saving of RGBA images in EXR format. * Fixes to the GPU lightmapper: - Added padding between atlas elements, avoids bleeding. - Remove old SDF generation code. - Fix baked attenuation for Omni/Spot lights. - Fix baking of material properties onto UV2 (wireframe was wrongly used before). - Disable statically baked lights for objects that have a lightmap texture to avoid applying the same light twice. - Fix lightmap pairing in RendererSceneCull. - Fix UV2 array generated from `RenderingServer::mesh_surface_get_arrays()`. - Port autoexposure fix for OIDN from 3.x. - Save debug textures as EXR when using floating point format.
2021-05-01Fix documentation following implementation of particle trailsMarcel Admiraal
2021-04-30Implement Particle Trailsreduz
-Enable the trails and set the length in seconds -Provide a mesh with a skeleton and a skin -Or, alternatively use one of the built-in TubeTrailMesh/RibbonTrailMesh -Works deterministically -Fixed particle collisions (were broken) -Not working in 2D yet (that will happen next)
2021-04-30Prevent setting too big or too small Collision Mask and LayerRafał Mikrut
2021-04-29Merge pull request #48269 from akien-mga/remove-largetextureRémi Verschelde
Remove obsolete LargeTexture, it's no longer useful since 3.x
2021-04-28Merge pull request #46688 from QbieShay/fix-particle-rotate-y-4Rémi Verschelde
Fixed rotate_y property of particle shaders
2021-04-28Remove obsolete LargeTexture, it's no longer useful since 3.xRémi Verschelde
It existed in early Godot releases to allow working around hardware limitations on max texture sizes (e.g. hardware limits of 1024x1024 pixels). Nowadays the max texture size supported natively by Godot is 16384x16384, and even low end mobile hardware should support at least 4096x4096. The LargeTexture implementation is basically just an array with offsets, sizes and textures and should be easy to replicate with a custom Texture resource if needed - solving most of its bugs on the way as the implementation removed here has various unimplemented or incomplete methods.
2021-04-28Merge pull request #48239 from akien-mga/goodbye-copymemRémi Verschelde
Core: Drop custom `copymem`/`zeromem` defines
2021-04-27Merge pull request #48241 from akien-mga/tabs-panel-style-unusedRémi Verschelde
Tabs: Remove unused 'panel' stylebox from default theme
2021-04-27Merge pull request #48050 from JFonS/occlusion_cullingRémi Verschelde
2021-04-27Tabs: Remove unused 'panel' stylebox from default themeRémi Verschelde
Cf. https://github.com/godotengine/godot/issues/37875#issuecomment-625297308.
2021-04-27Core: Drop custom `copymem`/`zeromem` definesRémi Verschelde
We've been using standard C library functions `memcpy`/`memset` for these since 2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb. There was still the possibility for third-party platform ports to override the definitions with a custom header, but this doesn't seem useful anymore.
2021-04-27Merge pull request #47826 from Chaosus/vs_fix_default_input_overridingRémi Verschelde
Prevents default values of VSNodeCustom from overriding by a script
2021-04-25fix triplanar mapping for AOStefan Boronczyk
2021-04-23Merge pull request #46593 from pycbouh/theme-editor-better-edit-uiRémi Verschelde
Refactor Edit Theme menu in Theme Editor
2021-04-23Implement occlusion cullingjfons
Added an occlusion culling system with support for static occluder meshes. It can be enabled via `Project Settings > Rendering > Occlusion Culling > Use Occlusion Culling`. Occluders are defined via the new `Occluder3D` resource and instanced using the new `OccluderInstance3D` node. The occluders can also be automatically baked from a scene using the built-in editor plugin.
2021-04-20Merge pull request #47345 from nekomatata/heightmap-draw-trianglesRémi Verschelde
Draw triangles for HeightMapShape debug collision
2021-04-20Merge pull request #47347 from nekomatata/heightmap-supportRémi Verschelde
Heightmap collision shape support in Godot Physics
2021-04-19doc: Sync classref with current sourceRémi Verschelde
2021-04-19Merge pull request #47448 from madmiraal/rename-lineedit-cursorRémi Verschelde
Rename LineEdit getters and setters to match property names
2021-04-18Merge pull request #47980 from reduz/split-particle-shader-entry-pointsRémi Verschelde
Split particle shader entry points
2021-04-18Refactor Edit Theme menu in Theme EditorYuri Sizov
2021-04-17Fix `sky` visual shader mode after last renameYuri Roubinsky
2021-04-17Split particle shader entry pointsreduz
* Particle shaders now have start() and process() * Particle collision happens between them. * The RESTART property is kept, so porting an old shader is still possible. This fixes the problem of particle collisions not functioning on the first particle frame.
2021-04-17Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal
2021-04-16Merge pull request #47950 from AndreaCatania/AndreaCatania-patch-4Rémi Verschelde
Lowers the navigation edge margin merge
2021-04-16Lowers the navigation edge margin mergeAndrea Catania
Lowers the edge margin merge to avoid merge undesired edges.
2021-04-14Refactor GLSL shader compilationreduz
-Used a more consistent set of keywords for the shader -Remove all harcoded entry points -Re-wrote the GLSL shader parser, new system is more flexible. Allows any entry point organization. -Entry point for sky shaders is now sky(). -Entry point for particle shaders is now process().
2021-04-12Prevents default values of VSNodeCustom from overriding by a scriptYuri Roubinsky
2021-04-10Merge pull request #46340 from gongpha/various-color-pickerRémi Verschelde
Add Various ColorPicker shapes
2021-04-08Merge pull request #43746 from CaptainProton42/masterRémi Verschelde
Vulkan: Implement triplanar mapping in world space
2021-04-06Add Various ColorPicker shapesKongfa Waroros
2021-04-05Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde
2021-04-04Prevents TextureUniform in visual shaders from conversion to constant Yuri Roubinsky
2021-04-04Merge pull request #46273 from Chaosus/vs_commentRémi Verschelde
Added Comment node to Visual Shaders
2021-04-01Merge pull request #46991 from madmiraal/rename-invert-reverseRémi Verschelde
Rename Array.invert() to Array.reverse()
2021-04-01Merge pull request #42827 from lyuma/rename_bones_blendshapesRémi Verschelde
Allow renaming bones and blendshapes.
2021-03-29Merge pull request #47457 from bruvzg/rtl_spacingRémi Verschelde
RichTextLabel: fix font extra spacing and style box size usage.
2021-03-29Use extra font spacing in the RichTextLabel line height calculation, and ↵bruvzg
stylebox size in the minimum size calculation.
2021-03-29Merge pull request #47435 from madmiraal/rename-texture-get_dataRémi Verschelde
Rename Texture.get_data() to get_image()
2021-03-29doc: Sync classref with current sourceRémi Verschelde
2021-03-28Rename Texture.get_data() to get_image()Marcel Admiraal
2021-03-25Heightmap collision shape support in Godot PhysicsPouleyKetchoupp
2021-03-26Merge pull request #47163 from bruvzg/macos_sandbox_file_dialogRémi Verschelde
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
2021-03-25Fix ParticlesMaterial spreadMorris Tabor
2021-03-25Merge pull request #47251 from pycbouh/theme-more-useful-methodsRémi Verschelde
Add utility methods to Theme, improve error messages and documentation
2021-03-24Draw triangles for HeightMapShape debug collisionPouleyKetchoupp
Helps with ambiguous cases where it's not possible to tell which diagonal is used for collision in quads.
2021-03-23Merge pull request #37755 from KoBeWi/check_downRémi Verschelde
Add disabled theme icons for CheckBox
2021-03-23FileDialog: add Back/Forward buttons, add message for inaccessible folders.bruvzg
2021-03-22Merge pull request #47226 from fabriceci/improve-rayshape-2DRémi Verschelde
Bring the Raycast2D improvements to Rayshape2D