summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2020-11-17Describe `ImageTexture`, `Image` creation and usageAndrii Doroshenko (Xrayez)
2020-11-17Merge pull request #38812 from aaronfranke/brace-no-empty-lineRémi Verschelde
Remove all empty lines from the start of blocks defined with braces
2020-11-17Merge pull request #43547 from TokageItLab/lowering-s3d-and-camera-min-unitRémi Verschelde
Lowering the Minimum Unit at Shape3D and Cameras
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-17Lowering the Minimum Unit at Shape3D and CamerasTokage
2020-11-16Merge pull request #43316 from YeldhamDev/rate_scale_wav_fixRémi Verschelde
Fix WAV resources ignoring the AudioServer's 'global_rate_scale' value
2020-11-16Merge pull request #42008 from Calinou/theme-rename-node-typeRémi Verschelde
Rename the `type` parameter to `node_type` in Theme and Control
2020-11-12Improve error messages related to failing to open filesNick Swoboda
2020-11-09Variant: Rename Type::_RID to Type::RIDRémi Verschelde
The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-06Fix uninitialised variables in the BaseMaterial3D.bruvzg
2020-11-04Fix WAV resources ignoring the AudioServer's 'global_rate_scale' valueMichael Alexsander
2020-11-02Alpha Hash and Alpha2Coverage ImplementationMarios Staikopoulos
2020-10-28Update scene/resources/dynamic_font.cppJuan Linietsky
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-10-28Implement CanvasGroup and CanvasItem clippingreduz
-Allows merging several 2D objects into a single draw operation -Use current node to clip children nodes -Further fixes to Vulkan barriers -Changed font texture generation to white, fixes dark eges when blurred -Other small misc fixes to backbuffer code.
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