summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2020-10-27Rename the `type` parameter to `node_type` in Theme and ControlHugo Locurcio
This makes it clearer that it expects a node type as a string (such as "Label") instead of a type like "TYPE_ARRAY". This is backwards-compatible since only the name of the parameter is changed, not its order.
2020-10-27Visual Shader Parenthesis fixLuke Costello
missing parenthesis were added to prevent conditional statement from interacting with operations
2020-10-26Merge pull request #43075 from Xrayez/color-ramp-to-gradientRémi Verschelde
Fixup `ColorRamp` to `Gradient` renames
2020-10-25Fixup `ColorRamp` to `Gradient` renamesAndrii Doroshenko (Xrayez)
2020-10-24Refactored 2D shader and lighting systemreduz
-Removed normal/specular properties from nodes -Create CanvasTexture, which can contain normal/specular channels -Refactored, optimized and simplified 2D shaders -Use atlas for light textures. -Use a shadow atlas for shadow textures. -Use both items aboves to make light rendering stateless (faster). -Reorganized uniform sets for more efficiency.
2020-10-19Merge pull request #42558 from Chaosus/vs_curveRémi Verschelde
Added visual shader node to easy gather data from a CurveTexture
2020-10-18Revert "Replace SAO implementation with MSSAO"Juan Linietsky
2020-10-18Merge pull request #42077 from clayjohn/MSSAOJuan Linietsky
Replace SAO implementation with MSSAO
2020-10-18Merge pull request #42201 from clayjohn/Vulkan-new-glowJuan Linietsky
Optimize Glow with local memory
2020-10-18Replace SAO implementation with MSSAOclayjohn
2020-10-18Optimize Glow with local memoryclayjohn
2020-10-18Merge pull request #41418 from clayjohn/Vulkan-aerialRémi Verschelde
Add aerial perspective to fixed fog
2020-10-18Refactor MethodBind to use variadic templatesreduz
Removed make_binders and the old style generated binders.
2020-10-18Added VisualShaderNodeCurve to easy gather data from a CurveTextureYuri Roubinsky
2020-10-17Add aerial perspective to fixed fogclayjohn
2020-10-10Adds Metallic to spatial light input of visual shadersYuri Roubinsky
2020-10-09Implement GPU Particle Collisionsreduz
-Sphere Attractor -Box Attractor -Vector Field -Sphere Collider -Box Collider -Baked SDF Collider -Heightmap Collider
2020-10-05glTF: Fix parsing image data with `mimeType` undefinedRémi Verschelde
The glTF 2.0 spec only makes `mimeType` mandatory for `bufferView` image data, so the previous logic to handle URIs with base64-encoded images could fail if `mimeType` is undefined. The logic was documented and refactored to better handle the spec, notably: - `uri` and `bufferView` are now mutually exclusive, and only the latter fails if `mimeType` is undefined. - `uri` with a file path will now respect the `mimeType` if defined, and thus attempt loading the file with the specified format (even if its extension is not the one expected for this format). So we can support bad extensions (PNG data with `.jpg` extension) or custom ones (PNG data in `.img` file for example). - `uri` with base64 encoded data will infer MIME type from `data:image/png` or `data:image/jpeg` if it was not documented in `mimeType` initially. - `uri` with base64 encoded data, no `mimeType` and `application/octet-stream` or `application/gltf-buffer` will fall back to trying both PNG and JPEG loaders. Fully fixes #33796 (and fixes up #42501).
2020-10-04Fix typo in VisualShaderNodeSample3D::generate_codeYuri Roubinsky
2020-10-03Fix def parameter in Texture visual shader nodes for sky/particles modesYuri Roubinsky
2020-10-03Switch from recursion to iterative for backfilling colour regionsPaulb23
2020-10-02Fix VisualShaderNode::set_output_port_connectedYuri Roubinsky
2020-10-01Expose Animation::value_track_interpolate to GDscriptlolligerjoj
2020-09-29Improve appearance of [connection] and [editable] sections in .tscn filesDanil Alexeev
2020-09-29Merge pull request #42078 from Chaosus/vs_rename_typeRémi Verschelde
Renames Type to OpType in VisualShaderNodeMultiplyAdd
2020-09-27Merge pull request #35924 from doot24/fix_#35863Rémi Verschelde
Fixed Gradient.remove_point not allowing fewer than two points.
2020-09-24Add a property hint to StyleBoxFlat `shadow_size` for editor usabilityHugo Locurcio
This adds a visible range to the slider so it can be dragged more easily. This closes #42309.
2020-09-23Merge pull request #42203 from rcorre/physicsmat_hintRémi Verschelde
Fix hints on PhysicsMaterial bounce/friction.
2020-09-22Fix expressions nodes in visual shadersYuri Roubinsky
2020-09-21Fix some bugs in visual shader editorYuri Roubinsky
2020-09-19Fix hints on PhysicsMaterial bounce/friction.Ryan Roden-Corrent
These values are only meaningful in the range 0 to 1. Make sure the editor enforces reasonable values. Fixes #42202.
2020-09-18Fix typos with codespellRémi Verschelde
Using codespell 1.17.1. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2020-09-15Renames Type to OpType in VisualShaderNodeMultiplyAddYuri Roubinsky
To prevent possible conflicts with C# and other languages.
2020-09-11Fix triplanar texture code generation in visual shadersYuri Roubinsky
2020-09-11Merge pull request #41955 from Chaosus/vs_performance_fix3Yuri Roubinsky
Improve performance of Add/Remove/Connect/Change nodes in visual shader
2020-09-11Improve performance of Add/Remove/Connect/Change nodes in visual shaderYuri Roubinsky
2020-09-11doc: Sync classref with current sourceRémi Verschelde
Bind missing enums.
2020-09-10Move safe line color into editorPaulb23
2020-09-10Add folding gutter to code_editPaulb23
2020-09-10Add main_gutter (breakpoints, bookmarks, execution lines) to code_editPaulb23
2020-09-10Changed line_edited_from(from) to lines_edit_from(from, to)Paulb23
2020-09-10Added Line numbers to CodeEditPaulb23
2020-09-10Add and convert editor to use CodeEditPaulb23
2020-09-10Added Texture3D to visual shadersYuri Roubinsky
2020-09-09Merge pull request #41918 from reduz/implement-3d-texturesJuan Linietsky
Implement 3D textures as import and resource format.
2020-09-09Implement 3D textures as import and resource format.reduz
2020-09-09Improve performance for Show/Hide port preview in visual shadersYuri Roubinsky
2020-09-09Improve performance of Undo:change node position in visual shaderYuri Roubinsky
2020-09-08mesh_library.h: Update header guard to reflect file nameYetizone
2020-09-07Added `active` boolean to particles mode output in visual shadersYuri Roubinsky