summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2020-04-29[Core] Rename linear_interpolate to lerpAaron Franke
2020-04-29Merge pull request #38287 from ↵Rémi Verschelde
JiRuifanCR/animatedtexture-oneshot-pause-set-frame Add set_frame, pause, and oneshot to AnimatedTexture
2020-04-29Add set_frame, pause, and oneshot to AnimatedTextureRevan Ji
Add API documentation for said changes.
2020-04-28Merge pull request #38286 from bojidar-bg/x-expose-cell-sizeRémi Verschelde
Expose the cell_size affecting VisibilityNotifier2D precision
2020-04-28Expose the cell_size affecting VisibilityNotifier2D precisionBojidar Marinov
Refs: #4803
2020-04-27Merge pull request #38121 from JFonS/add_unwrap_cachingRémi Verschelde
Add caching the lightmap unwrapping on import
2020-04-23Tweak SSAO property hints to allow setting more precise valuesHugo Locurcio
This was requested by an user on Twitter who was working on a game with a very small-scale world.
2020-04-22Add caching the lightmap unwrapping on importJFonS
This commit adds caching to the lightmap mesh unwraps generated on import. This speeds up re-imports of meshes that haven't changed and also makes sure that the unwraps are consistent across imports. The unwrapping process is not deterministic, so one could end up with a different mapping every time the scene was imported, breaking any previously baked lightmaps. The changes in this commit prevent that from happening.
2020-04-20Exposed RenderingDevice to script APIJuan Linietsky
Also added an easier way to load native GLSL shaders. Extras: Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload. Note: The precommit hooks are broken because they don't seem to support enums from one class being used in another. Feel free to fix this after merging this PR.
2020-04-17Add light size to Sky Shadersclayjohn
2020-04-10Merge pull request #37517 from nekomatata/slider-grab-area-highlightRémi Verschelde
Add style for highlighted Slider grab area
2020-04-08Refactored shadowmapping.Juan Linietsky
- Made shadow bias size independent, so it will remain when changing light or camera size. - Implemented normal offset bias, which greatly enhances quality. - Added transmission to subsurface scattering - Reimplemented shadow filter modes Closes #17260
2020-04-06Adds warning to the uniform name in visual shader if its equal to keywordYuri Roubinsky
2020-04-04Re-implement subsurface scattering.Juan Linietsky
The size settings are more "just works", with default scale and depth scale values that don't need much tweaking. Additionally, a "skin" mode was added so skin looks better. EDIT: Cleaned up SSR filter shader a bit.
2020-04-02Merge pull request #37512 from reduz/implement-ssrRémi Verschelde
Re-Added screen space reflection.
2020-04-02Re-Added screen space reflection.Juan Linietsky
2020-04-02Add style for highlighted Slider grab areaPouleyKetchoupp
2020-04-02Replace NULL with nullptrlupoDharkael
2020-04-02Merge pull request #37504 from qarmin/out_of_bound_cursorRémi Verschelde
Fix array out of bounds access caused by uninitialised variables
2020-04-01Fix out of bound array access caused by unassigned variableRafał Mikrut
2020-04-01Merge pull request #37481 from ThakeeNathees/bind-method-typoRémi Verschelde
some typo in method binds fixed
2020-04-01some typo in method binds fixedThakee Nathees
2020-03-30Merge pull request #37436 from akien-mga/doc-node-renamesRémi Verschelde
doc: Update classref with node renames
2020-03-30doc: Update classref with node renamesRémi Verschelde
A few extra renames for classes which were missed in last week's PRs.
2020-03-30Move glow upscale quality to a global setting, for consistencyJuan Linietsky
2020-03-30SCons: Format buildsystem files with psf/blackRémi Verschelde
Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
2020-03-28Merge pull request #37362 from reduz/audioserver-memory-cleanupRémi Verschelde
Remove the audio memory allocator, use regular one instead.
2020-03-28Fix copyright headers for recently added filesRémi Verschelde
2020-03-28More server renames for consistency after #37361Rémi Verschelde
2020-03-27Remove the audio memory allocator, use regular one instead.Juan Linietsky
2020-03-27Renaming of servers for coherency.Juan Linietsky
VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
2020-03-27Rename more 2D and 3D nodes to follow conventionRémi Verschelde
Rename editor plugins to match the new node names.
2020-03-27Renamed 2D and 3D nodes to make their types explicitJuan Linietsky
Fixes #30736.
2020-03-27Fix various -Wmaybe-uninitialized (#37352).Martin Liska
2020-03-26Open sub-windows as embedded if the OS does not support themJuan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-26Added a Window node, and made it the scene root.Juan Linietsky
Still a lot of work to do.
2020-03-25Added sky shader mode to visual shadersYuri Roubinsky
2020-03-24Merge pull request #37268 from clayjohn/VULKAN-sky-colorRémi Verschelde
Replace subpass textures with color in sky shader
2020-03-24Replace subpass textures with color in sky shaderclayjohn
2020-03-24Remove unused classes and stray headersRémi Verschelde
Found by reviewing headers with 1 or less matching includes: ``` find -name thirdparty -prune -o -name "*.h" -exec basename {} \; | sort -u > headers for header in $(cat headers); do echo "$header: "; rg -l "#include \"(.*/)?$header\"" | wc -l; done > list-includes ```
2020-03-24Remove unreferenced & undocumented class Space2DDominik 'dreamsComeTrue' Jasiński
2020-03-21Working sky shader implementationclayjohn
2020-03-19Add shader based background modeBastiaan Olij
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-14Fix divison by zero issueEv1lbl0w
2020-03-12Merge pull request #36961 from JFonS/fix_mesh_selectionRémi Verschelde
Return correct mesh format for PrimitiveMesh
2020-03-11Merge pull request #36977 from lupoDharkael/decompose-copyRémi Verschelde
Mesh::convex_decompose: Remove unneeded vector copy
2020-03-11Loop over faces in create_trimesh_shape()lupoDharkael
2020-03-11Mesh::convex_decompose: Remove unneeded vector copylupoDharkael