summaryrefslogtreecommitdiff
path: root/scene/resources/visual_shader_nodes.cpp
AgeCommit message (Collapse)Author
2022-08-18Merge pull request #63999 from QbieShay/qbie/vs-qolClay John
Quality of life visual shaders updates
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-07Merge pull request #62454 from Geometror/reflect-refract-vec2-vec4Rémi Verschelde
Allow for vec2/vec4 to be used in reflect and refract
2022-08-07Allow vec2 and vec4 for reflect and refractHendrik Brucker
2022-08-01Add `hint_transparent` to use a transparent black placeholder textureHugo Locurcio
This can be used in shaders to avoid the need to supply a transparent placeholder texture manually.
2022-06-05Fix typo "Frac" instead of "Fract"Aaron Record
2022-05-24Merge pull request #60803 from Chaosus/shader_hint_renameRémi Verschelde
Rename `hint_albedo`, `hint_white/black` in shaders
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-09Rename `hint_albedo`, `hint_white/black` in shadersYuri Roubinsky
2022-05-09Merge pull request #60845 from Chaosus/vs_color_funcYuri Rubinsky
2022-05-07Push `HSV2RGB/RGB2HSV` to `ColorFunc` (from `VecFunc`) in visual shadersYuri Roubinsky
2022-05-07Change output port of `VisualShaderNodeColorUniform` to vec4Yuri Roubinsky
2022-05-03Rename Basis get_axis to get_column, remove redundant methodsAaron Franke
2022-04-22Continue to improve vector4 type in visual shadersYuri Roubinsky
2022-04-12Add Vector4 to VisualShaderHendrik Brucker
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-02-20simplify calculation of max in grayscaleMarkus Sauermann
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-02Add support for 2D vector type to visual shadersYuri Roubinsky
2022-01-28[VisualShader] Merge scalar and vector derivative functions into oneYuri Roubinsky
2022-01-22Fix default input port hints for some modes in visual shaderYuri Roubinsky
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-16Add texture filtering properties to `VisualShaderNodeTextureUniform`Yuri Roubinsky
2021-12-10Rename `hint_aniso` to `hint_anisotropy` in the shader languageHugo Locurcio
The word "anisotropy" is used in full form in BaseMaterial3D's anisotropy-related properties.
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-12-03Add bitwise operators to `VisualShaderNodeIntOp`Yuri Roubinsky
2021-11-12Fix editor crash due incorrect setup of default texture in visual shaderYuri Roubinsky
2021-11-12Fix default_texture_param in shader pipeline to support uniform arraysYuri Roubinsky
2021-11-06Added `MeshEmitter` node for particles in visual shaderYuri Roubinsky
2021-10-13Add a default input parameter field to CurveTexture (in visual shaders)Yuri Roubinsky
2021-08-15Added missed limiters for Visual Shader node enumsYuri Roubinsky
2021-08-13Merge pull request #50114 from Chaosus/vs_constantsRémi Verschelde
Few improvements for constants in visual shader
2021-08-13Merge pull request #51519 from Chaosus/vs_transform_operatorRémi Verschelde
Changed `TransformMult` node to `TransformOp` in visual shaders
2021-08-12Fix printing error about unsupported modifier on `TransformUniform`Yuri Roubinsky
2021-08-11Changed `TransformMult` node to `TransformOp` in visual shadersYuri Roubinsky
2021-08-11Few improvements for constants in visual shaderYuri Roubinsky
2021-07-20Merge pull request #50605 from Calinou/tweak-shader-code-styleRémi Verschelde
Use C++11 raw literals for shader code to improve readability
2021-07-19Use C++11 raw literals for shader code to improve readabilityHugo Locurcio
In files that have lots of branching, `\t` was replaced with a tab character instead.
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-07-14Rename Curve3Texture to CurveXYZTextureRémi Verschelde
Neither name is a perfect match but `Curve3Texture` looked too similar to `CurveTexture` and `Curve3D`, which made things confusing when picking a texture type or browsing the API reference.
2021-07-04Added Curve3Texture to Visual ShadersYuri 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-06-03Rename Variant TRANSFORM to TRANSFORM3DAaron Franke
Also _transform to _transform3d
2021-06-03Rename Transform to Transform3D in coreAaron Franke
2021-05-28Added Billboard Node to Visual ShadersYuri Roubinsky
2021-05-26Merge pull request #49056 from Chaosus/vs_colorYuri Roubinsky