summaryrefslogtreecommitdiff
path: root/scene/resources/visual_shader.h
AgeCommit message (Collapse)Author
2021-10-11Make port previews in visual shader visible in other shader modesYuri Roubinsky
2021-08-22Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz
* New syntax is type safe. * New syntax allows for type safe virtuals in native extensions. * New syntax permits extremely fast calling. Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`. These will require API rework on a separate PR as they work different than the rest of the functions. Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-15Added missed limiters for Visual Shader node enumsYuri Roubinsky
2021-08-02Makes dictionary instead of string for visual shader versionYuri Roubinsky
Update doc/classes/VisualShader.xml Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-07-12Auto-set a first compatible uniform on dragging to create a UniformRefYuri Roubinsky
2021-06-28Fix auto-connection from output node to input (VisualShaders)Yuri Roubinsky
2021-06-07Continuation of work on visual particles systemYuri Roubinsky
2021-06-07Adds `UVFunc` for panning/scaling on UV's to VisualShader's.Yuri Roubinsky
2021-05-28Added Billboard Node to Visual ShadersYuri Roubinsky
2021-05-26Implements expandable color ports in visual shadersYuri Roubinsky
2021-05-20Fix typos with codespellRémi Verschelde
Using codespell 2.0.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD 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 ```
2021-05-07Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A
InputEventWithModifiers properties/methods
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-17Fix `sky` visual shader mode after last renameYuri Roubinsky
2021-04-12Prevents default values of VSNodeCustom from overriding by a scriptYuri Roubinsky
2021-04-04Prevents TextureUniform in visual shaders from conversion to constant Yuri Roubinsky
2021-02-21Added Comment node to Visual ShadersYuri Roubinsky
2021-02-18Modernize atomicsPedro J. Estébanez
- Based on C++11's `atomic` - Reworked `SafeRefCount` (based on the rewrite by @hpvb) - Replaced free atomic functions by the new `SafeNumeric<T>` - Replaced wrong cases of `volatile bool` by the new `SafeFlag` - Platform-specific implementations no longer needed Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-02-11Improve resource load cachereduz
-Added a new method in Resource: reset_state , used for reloading the same resource from disk -Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type) -Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
2021-02-09Initialize class variables with default values in scene/ [2/2]Rafał Mikrut
2021-01-15Merge pull request #44805 from Chaosus/vs_convertRémi Verschelde
Add convert options between constants and uniforms in visual shaders
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-30Add convert options between constants and uniforms in visual shadersYuri Roubinsky
2020-12-02Fixed some errors when changing port name in visual shader expressionsYuri Roubinsky
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-10-18Added VisualShaderNodeCurve to easy gather data from a CurveTextureYuri Roubinsky
2020-10-02Fix VisualShaderNode::set_output_port_connectedYuri Roubinsky
2020-09-21Fix some bugs in visual shader editorYuri Roubinsky
2020-09-11Improve performance of Add/Remove/Connect/Change nodes in visual shaderYuri Roubinsky
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-07Remakes particles in visual shadersYuri Roubinsky
2020-09-07Fix some broken visual shader nodesYuri Roubinsky
2020-09-05Cleanup constructor code in visual shader nodesYuri Roubinsky
2020-09-03Restore Particles functionality in visual shaderYuri Roubinsky
2020-07-31Fix small reconnection bug in visual shaderYuri Roubinsky
2020-07-28Added UniformRef visual shader nodeYuri Roubinsky
2020-07-27Optimize code generation for fresnel node in visual shadersYuri Roubinsky
2020-07-26Removes redundant code generation in VisualShaderNodeTextureUniformYuri Roubinsky
2020-07-10Add override keywords.Marcel Admiraal
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-05-05Added uniform qualifiers to visual shadersYuri Roubinsky
2020-04-06Adds warning to the uniform name in visual shader if its equal to keywordYuri Roubinsky
2020-02-26Add support for integer type in visual shadersYuri Roubinsky
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-01Better visual shader code generationYuri Roubinsky
2020-01-27Removed unused method "build" from VisualShaderNodeExpressionYuri Roubinsky
2020-01-23Hide "default_input_values" property in VisualShaderNode.Yuri Roubinsky
2020-01-20Forbid recursive connections in visual shaderYuri Roubinsky
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.