summaryrefslogtreecommitdiff
path: root/scene/resources/visual_shader.cpp
AgeCommit message (Collapse)Author
2023-01-24PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"Aaron Franke
2023-01-20Some refactoring for visual shader texture functionsYuri Rubinsky
2023-01-18Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTUREclayjohn
in favour of texture hints
2023-01-09Add few improvements for `VisualShaderNodeParticleRandomness`Yuri Rubinsky
2023-01-06Add `uint` type support to visual shadersYuri Rubinsky
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-26Add missing CUSTOM inputs for the spatial/vertex mode of visual shaderYuri Rubinsky
2022-12-11Optimize a code generation of visual shader particlesYuri Rubinsky
2022-12-03Implement CAMERA_VISIBLE_LAYERS as built-in shader variableNumbuhFour
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