summaryrefslogtreecommitdiff
path: root/scene/resources/visual_shader.cpp
AgeCommit message (Collapse)Author
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
2021-11-12Fix default_texture_param in shader pipeline to support uniform arraysYuri Roubinsky
2021-11-11String: Remove `erase` method, bindings can't mutate StringRémi Verschelde
2021-11-10Merge pull request #54660 from Chaosus/vs_particles_mesh_emitterRémi Verschelde
2021-11-10VisualShader: Document enum args for virtual methodsRémi Verschelde
Fixes #31563.
2021-11-06Added `MeshEmitter` node for particles in visual shaderYuri Roubinsky
2021-11-05Added 2D boolean hint for particle emitters in visual shadersYuri Roubinsky
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-10-29Repair Fog mode in visual shadersYuri Roubinsky
2021-10-28Addition of FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFogclayjohn
Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
2021-10-11Make port previews in visual shader visible in other shader modesYuri Roubinsky
2021-09-30Use range iterators for `Map`Lightning_A
2021-08-26Fix misspelled "overriden"Haoyu Qiu
In recent GDVIRTUAL PR and SkeletonModification3DJiggle doc.
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-12Fix printing error about unsupported modifier on `TransformUniform`Yuri Roubinsky
2021-08-06Fix a default shader specular render mode to (`SCHLICK_GGX`/`BLINN`)Yuri Roubinsky
2021-08-03Added more input/output built-ins to visual shadersYuri 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-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-21Fix function code generation for uniform triplanar node 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-17Prevent function gen in visual shader if no out connection is providedYuri Roubinsky
2021-07-12Auto-set a first compatible uniform on dragging to create a UniformRefYuri Roubinsky