summaryrefslogtreecommitdiff
path: root/scene/resources/visual_shader.cpp
AgeCommit message (Collapse)Author
2022-09-01Replace Vector2(i) with Size2(i) for methods returning a sizeJohan Aires Rastén
2022-08-25Allow using integer varyings with `flat` interpolation modifierYuri Rubinsky
2022-08-23Replace Array return types with TypedArray 2kobewi
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-12Improve visual shader defaults for quality of lifeQbieShay
- multiply part of addmultiply defaults to 1 - curvetexture's repeat is turned off - vectors into float takes first component instead of average
2022-08-02Add spatial built-ins (camera-pos, object-pos, camera-eye etc.)Patrick Exner
2022-07-28Rename RenderingServer global shader uniform methods to be more explicitHugo Locurcio
The `global_shader_uniform` name is longer, but it makes it much easier to find the methods when searching in the class reference.
2022-07-27Add a check to prevent duplicating connections in visual shaderYuri Rubinsky
2022-07-16Fix visual shader graph not correctly updating when multiple tabs openedYuri Rubinsky
2022-06-16Merge pull request #61888 from Chaosus/vs_remove_engine_versionRémi Verschelde
Remove engine version from visual shader
2022-06-11Revert vector4 output ports in visual shadersYuri Rubinsky
2022-06-10Remove engine version from visual shaderYuri Rubinsky
2022-05-24Use IGN instead of white noise for sky ditheringclayjohn
2022-05-23Fix connection of subports after uniform->constant conversion in vshaderYuri Rubinsky
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-19Add dedicated macros for property name extractionHaoyu Qiu
* Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-05-16Merge pull request #60986 from fire-forge/capitalismRémi Verschelde
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-13Capitalize output port names in visual shaderFireForge
2022-05-12Capitalize/fix some property enum hintsFireForge
2022-04-22Continue to improve vector4 type in visual shadersYuri Roubinsky
2022-04-12Add Vector4 to VisualShaderHendrik Brucker
2022-03-29Remove `SHADOW_ATTENUATION` spatial light shader built-inYuri Roubinsky
2022-03-28Merge pull request #59619 from Chaosus/vs_input_descRémi Verschelde
2022-03-28Add refs to shading language to the desciption of input nodes in vshaderYuri Roubinsky
2022-03-28String: Remove TTR and DTR defines in non-tools buildRémi Verschelde
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.
2022-03-18Rename several transform built-ins in shadersYuri Roubinsky
2022-03-08Add `_get_func_code/_is_available` virtual functions to custom nodesYuri Roubinsky
2022-03-07Merge pull request #58750 from Chaosus/vs_varyingsRémi Verschelde
Add varying support to visual shaders
2022-03-04Add varying support to visual shadersYuri Roubinsky
2022-03-03Adds few more input/output built-ins to visual shaderYuri Roubinsky
2022-02-22Use Filament specular models and parametrizationclayjohn
2022-02-07Add some more fixes to visual shaderYuri Roubinsky
2022-02-06Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D`Yuri Roubinsky
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-03Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde
String: Add contains().
2022-02-04String: Add contains().Anilforextra
2022-02-02Add support for 2D vector type to visual shadersYuri Roubinsky
2022-01-23Merge pull request #57056 from Chaosus/vs_fix_defaultsRémi Verschelde
2022-01-22Remove transform input from fog mode in visual shadersYuri Roubinsky
2022-01-22Fix default input port hints for some modes in visual shaderYuri Roubinsky
2022-01-21Fix undo after non-last port removal in `VisualShaderNodeExpression`Yuri Roubinsky
2022-01-11Fixed incorrect property typesArnav Vijaywargiya
2022-01-06Add a GDScript template for `VisualShaderNodeCustom`Yuri Roubinsky
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-21Refactor render_mode in shaders, forbid declaring duplicatesYuri Roubinsky
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-18Enchance `VisualShaderNodeMeshEmitter`, add more ports and fix bugsYuri Roubinsky