summaryrefslogtreecommitdiffstats
path: root/scene/resources/visual_shader.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix bool varying's generated code will be modified with flatjsjtxietian2023-10-121-3/+0
| |
* | Fix parameter shader node not declared when only connected to a VaryingSetterjsjtxietian2023-10-121-1/+1
|/
* Implement drop-down list properties to the custom visual shader nodesYuri Roubinski2023-09-291-0/+97
|
* made visual shader ports expandable by default if there is only one output ↵DennisManaa2023-09-221-0/+4
| | | | | | port and it's of any vector type Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
* Clean up/refactor GraphNode and make it more flexibleHendrik Brucker2023-09-071-0/+8
| | | | | Split GraphNode into GraphElement and GraphNode, add custom titlebar, and adjust theming.
* Make the dragging connections more user-friendly in visual shadersYuri Roubinski2023-07-201-0/+13
|
* Unify and streamline connecting to Resource changeskobewi2023-07-171-3/+3
|
* Merge pull request #73691 from Chaosus/vs_depthYuri Sizov2023-07-121-1/+3
|\ | | | | | | Add DEPTH to the visual shader output (for spatial mode)
| * Add DEPTH to the visual shader output (for spatial mode)Yuri Rubinsky2023-02-211-1/+3
| |
* | Remove uses of `vformat()` with no placeholdersHugo Locurcio2023-06-281-2/+2
| | | | | | | | This is identical to passing the string directly.
* | Add handling of custom visual shader nodes from GDExtensionYuri Rubinsky2023-05-061-0/+30
| |
* | Add LIGHT_IS_DIRECTIONAL built-in for spatial shadersJohan Aires Rastén2023-04-201-0/+1
| |
* | Add EXPOSURE built in to spatial shadersclayjohn2023-04-121-0/+3
| | | | | | | | This allows users to restore light values to pre-pre-exposure amounts
* | Write out render_mode even when mode is set to default in VisualShadersclayjohn2023-04-111-3/+9
|/
* Prevent preview error for the instance parameter in visual shaderYuri Rubinsky2023-02-031-0/+5
|
* Merge pull request #71479 from raulsntos/virtual-return-typeRémi Verschelde2023-02-011-2/+8
|\ | | | | | | Use enum instead of int in virtual methods return type
| * Use enum instead of int in virtual methods return typeRaul Santos2023-01-311-2/+8
| |
* | Merge pull request #72485 from BastiaanOlij/add_eye_matrix_accessRémi Verschelde2023-02-011-0/+2
|\ \ | | | | | | | | | Expose EYE_OFFSET to gdshader code
| * | Expose EYE_OFFSET to gdshader codeBastiaan Olij2023-02-011-0/+2
| |/
* / Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and ↵Marius Hanl2023-01-311-1/+1
|/ | | | | | | | | | | GPUParticles*3D - Extents are replaced by Size (Size is Extents * 2) - The UI text displays 'Size' - Snapping is adjusted to work with Size - _set and _get handle extents for compatibility Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
* PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"Aaron Franke2023-01-241-1/+1
|
* Some refactoring for visual shader texture functionsYuri Rubinsky2023-01-201-1/+0
|
* Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTUREclayjohn2023-01-181-4/+0
| | | | in favour of texture hints
* Add few improvements for `VisualShaderNodeParticleRandomness`Yuri Rubinsky2023-01-091-8/+0
|
* Add `uint` type support to visual shadersYuri Rubinsky2023-01-061-12/+103
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* Add missing CUSTOM inputs for the spatial/vertex mode of visual shaderYuri Rubinsky2022-12-261-0/+4
|
* Optimize a code generation of visual shader particlesYuri Rubinsky2022-12-111-49/+39
|
* Implement CAMERA_VISIBLE_LAYERS as built-in shader variableNumbuhFour2022-12-031-0/+2
|
* Simplify GDVIRTUAL_CALL callskobewi2022-10-191-10/+6
|
* SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde2022-10-101-3/+2
| | | | | | | | 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.
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-190/+190
| | | | change warnings=all to use /W4.
* Fix boolean connection to ports of other types in visual shaderYuri Rubinsky2022-10-031-1/+1
|
* Clean up canvas light shader API.clayjohn2022-09-281-0/+3
| | | | | Expose LIGHT_ENERGY and LIGHT_IS_DIRECTIONAL. Add LIGHT_DIRECTION
* Add conversion for uniform_name property in visual shaderYuri Rubinsky2022-09-071-0/+11
|
* Merge pull request #64952 from Chaosus/vs_rename_uniform_to_paramRémi Verschelde2022-09-021-170/+170
|\
| * Rename `uniform` to `parameter` across the engineYuri Rubinsky2022-09-011-170/+170
| |
* | Replace Vector2(i) with Size2(i) for methods returning a sizeJohan Aires Rastén2022-09-011-2/+2
|/
* Allow using integer varyings with `flat` interpolation modifierYuri Rubinsky2022-08-251-55/+33
|
* Replace Array return types with TypedArray 2kobewi2022-08-231-2/+2
|
* Make `_validate_property` a multilevel methodYuri Sizov2022-08-221-3/+3
|
* Improve visual shader defaults for quality of lifeQbieShay2022-08-121-3/+3
| | | | | | - multiply part of addmultiply defaults to 1 - curvetexture's repeat is turned off - vectors into float takes first component instead of average
* Add spatial built-ins (camera-pos, object-pos, camera-eye etc.)Patrick Exner2022-08-021-0/+8
|
* Rename RenderingServer global shader uniform methods to be more explicitHugo Locurcio2022-07-281-1/+1
| | | | | The `global_shader_uniform` name is longer, but it makes it much easier to find the methods when searching in the class reference.
* Add a check to prevent duplicating connections in visual shaderYuri Rubinsky2022-07-271-0/+6
|
* Fix visual shader graph not correctly updating when multiple tabs openedYuri Rubinsky2022-07-161-18/+39
|
* Merge pull request #61888 from Chaosus/vs_remove_engine_versionRémi Verschelde2022-06-161-84/+0
|\ | | | | Remove engine version from visual shader
| * Remove engine version from visual shaderYuri Rubinsky2022-06-101-84/+0
| |
* | Revert vector4 output ports in visual shadersYuri Rubinsky2022-06-111-5/+10
|/
* Use IGN instead of white noise for sky ditheringclayjohn2022-05-241-0/+1
|