summaryrefslogtreecommitdiff
path: root/scene/resources/visual_shader.cpp
AgeCommit message (Collapse)Author
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-19doc: Sync classref with current sourceRémi Verschelde
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-02-21Added Comment node to Visual ShadersYuri Roubinsky
2021-02-18Fix crash when calling connect_nodes_forced with invalid paramsDelf Neumärker
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-16Fixes crash when calling VisualShader::set_modeandybarcia
2021-02-14VisualShader::_input_type_changed Fix index out of bounds crash.kleonc
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-10Removed _change_notifyreduz
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
2021-01-18Added SDF nodes to visual shaderYuri Roubinsky
2021-01-15Fix replaced visual shader nodes updatingYuri Roubinsky
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-29Consistently use normal_mapMarcel Admiraal
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-02Fixed some errors when changing port name in visual shader expressionsYuri Roubinsky
2020-12-01Fix few bugs in visual shader expressionsYuri Roubinsky
Fixed few bugs in visual shader expressions
2020-11-29Fixed several visual shader inputsYuri Roubinsky
Fixed several inputs in visual shaders
2020-11-28Fixed invalid visual shader outputs (TRANSMISSION, ALPHA_SCISSOR)Yuri Roubinsky
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
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-27Visual Shader Parenthesis fixLuke Costello
missing parenthesis were added to prevent conditional statement from interacting with operations
2020-10-18Added VisualShaderNodeCurve to easy gather data from a CurveTextureYuri Roubinsky
2020-10-10Adds Metallic to spatial light input of visual shadersYuri Roubinsky
2020-10-02Fix VisualShaderNode::set_output_port_connectedYuri Roubinsky
2020-09-22Fix expressions nodes in visual shadersYuri Roubinsky
2020-09-21Fix some bugs in visual shader editorYuri Roubinsky
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-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-07Added `active` boolean to particles mode output in visual shadersYuri 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-04doc: Sync classref with current sourceRémi Verschelde
2020-09-03Merge pull request #41724 from Chaosus/vs_fix_particlesYuri Roubinsky
Restore Particles functionality in visual shader
2020-09-03Restore Particles functionality in visual shaderYuri Roubinsky
2020-08-28Fix specular render_mode for visual shaders Yuri 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-06-15Use path instead classname to prevent errors for exported visual shadersYuri Roubinsky
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html