summaryrefslogtreecommitdiff
path: root/scene/resources/visual_shader.cpp
AgeCommit message (Collapse)Author
2022-10-19Simplify GDVIRTUAL_CALL callskobewi
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-03Fix boolean connection to ports of other types in visual shaderYuri Rubinsky
2022-09-28Clean up canvas light shader API.clayjohn
Expose LIGHT_ENERGY and LIGHT_IS_DIRECTIONAL. Add LIGHT_DIRECTION
2022-09-07Add conversion for uniform_name property in visual shaderYuri Rubinsky
2022-09-02Merge pull request #64952 from Chaosus/vs_rename_uniform_to_paramRémi Verschelde
2022-09-01Replace Vector2(i) with Size2(i) for methods returning a sizeJohan Aires Rastén
2022-09-01Rename `uniform` to `parameter` across the engineYuri Rubinsky
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