Rémi Verschelde
01afc442c7
Signals: Port connect calls to use callable_mp
...
Remove now unnecessary bindings of signal callbacks in the public API.
There might be some false positives that need rebinding if they were
meant to be public.
No regular expressions were harmed in the making of this commit.
(Nah, just kidding.)
2020-02-28 14:24:09 +01:00
Yuri Roubinsky
7aaad99afb
Place paste after copy in new popup menu in visual shader
...
+ renamed _on_nodes_delete to _delete_nodes
2020-02-27 13:55:41 +03:00
Yuri Roubinsky
2d548b4d1a
Added popup menu for some actions in visual shaders
2020-02-27 12:54:26 +03:00
Yuri Roubinsky
9cfd2ed564
Fix resizer icon color in VisualScripts/Shaders when graph headers is on
2020-02-26 17:48:58 +03:00
Yuri Roubinsky
1e8108310a
Changed float type to int for INDEX visual shader input
2020-02-26 16:39:42 +03:00
Yuri Roubinsky
4a3d277623
Add support for integer type in visual shaders
2020-02-26 10:12:06 +03:00
Juan Linietsky
33b5c57199
Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.
...
- Renames PackedIntArray to PackedInt32Array.
- Renames PackedFloatArray to PackedFloat32Array.
- Adds PackedInt64Array and PackedFloat64Array.
- Renames Variant::REAL to Variant::FLOAT for consistency.
Packed arrays are for storing large amount of data and creating stuff like
meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of
memory. That said, many users requested the ability to have 64 bits packed
arrays for their games, so this is just an optional added type.
For Variant, the float datatype is always 64 bits, and exposed as `float`.
We still have `real_t` which is the datatype that can change from 32 to 64
bits depending on a compile flag (not entirely working right now, but that's
the idea). It affects math related datatypes and code only.
Neither Variant nor PackedArray make use of real_t, which is only intended
for math precision, so the term is removed from there to keep only float.
2020-02-25 12:55:53 +01:00
Yuri Roubinsky
b78b37ed3f
Refactor node processing in visual shader member dialog
2020-02-21 18:34:31 +03:00
Juan Linietsky
69c95f4b4c
Reworked signal connection system, added support for Callable and Signal objects and made them default.
2020-02-20 08:24:50 +01:00
Juan Linietsky
3205a92ad8
PoolVector is gone, replaced by Vector
...
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are
sugar for `Vector<Type>`.
2020-02-18 10:10:36 +01:00
Juan Linietsky
867d073b98
Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.
2020-02-15 08:36:04 -03:00
Yuri Roubinsky
b798e26e28
Restore cubemaps in visual shaders
2020-02-14 12:51:46 +03:00
Yuri Roubinsky
7aad7df574
Restore drag&drop textures in visual shaders
2020-02-13 19:19:41 +03:00
Yuri Roubinsky
bc647393ba
Added virtual method to VisualShaderNodeCustom to enable high-end mark
2020-02-13 09:43:43 +03:00
Yuri Roubinsky
516cd821c0
Added high-end (Vulkan) label to some functions in visual shader
2020-02-12 23:17:00 +03:00
Juan Linietsky
3f335ce3d4
Texture refactor
...
-Texture renamed to Texture2D
-TextureLayered as base now inherits 2Darray, cubemap and cubemap array
-Removed all references to flags in textures (they will go in the shader)
-Texture3D gone for now (will come back later done properly)
-Create base rasterizer for RenderDevice, RasterizerRD
2020-02-11 11:53:26 +01:00
Yuri Roubinsky
22ad83edae
Implemented hint_range for VisualShaderNodeScalarUniform
2020-02-07 17:04:24 +03:00
Haoyu Qiu
65e2230f6e
Fixes min size of various editor plugins on HiDPI
...
* AnimationTree
* AudioStream
* ResourcePreloader
* ShaderEditor
* VisualShaderEditor
2020-01-12 15:24:15 +08:00
Rémi Verschelde
a7f49ac9a1
Update copyright statements to 2020
...
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
2020-01-01 11:16:22 +01:00
Haoyu Qiu
078c0d75f2
Cleans up headers included in editor_node.h
2019-12-24 21:46:05 +08:00
Tomasz Chabora
2bde99f790
Fix some small text mistakes
2019-11-08 23:31:29 +01:00
Yuri Roubinsky
8243afb0e9
Added sampler inputs for visual shaders
2019-11-03 17:59:15 +03:00
Yuri Roubinsky
84a0ad36b6
Sort custom vshader nodes+prevents them from divide to different folders
2019-11-02 12:04:48 +03:00
Yuri Roubinsky
b76ae23392
Prevents folding of member tree on drag&drop in visual shader
2019-10-10 14:19:48 +03:00
Yuri Roubinsky
0a34fa701f
Fix VisualShaderInput (if compiled with MinGW) (correct, tested version)
2019-10-04 10:43:59 +03:00
Yuri Roubinsky
bc67a18fe0
Fix VisualShaderInput if compiled with MinGW
2019-10-04 10:52:07 +03:00
Yuri Roubinsky
b11d15d5c3
Makes Texture and TextureUniform in visual shaders to use UV by default
2019-10-03 16:59:49 +03:00
Yuri Roubinsky
1bafadb629
Drag&drop custom nodes from filesystem to visual shader
...
+ better loading of custom nodes
2019-10-02 23:42:14 +03:00
Chaosus
f14bcd8cc5
Added sampler port type for visual shaders
2019-10-01 13:20:08 +03:00
Chaosus
71d6990e1e
Added drag&drop possibility for textures from filesystem to visual shader
2019-10-01 09:00:55 +03:00
Michael Alexsander Silva Dias
13e752190f
Fix VS editor's "Create Function" dialog
2019-09-28 11:57:13 -03:00
Yuri Roubinsky
aadbb66dc2
Merge pull request #31926 from Chaosus/vs_switch
...
Some improvements for Switch node in visual shaders
2019-09-04 19:21:54 +03:00
Chaosus89
bf3024c172
Added missing OUTPUT_IS_SRGB and FRONT_FACING to visual shaders
2019-09-04 18:24:44 +03:00
Chaosus89
a79d8e3b8f
Some improvements for Switch node in visual shaders
2019-09-03 15:11:02 +03:00
Chaosus89
8fd8589547
Fix resizer icon visiblity on light theme in GraphNode
2019-09-01 09:12:26 +03:00
Rémi Verschelde
816ddd7817
Merge pull request #31556 from Chaosus/gles2_inverse
...
Implemented inverse shader function to GLES2
2019-08-26 13:52:03 +02:00
Yuri Roubinski
ac4e6f0041
Fix _get_description param name (visual shaders)
2019-08-25 13:06:16 +03:00
Yuri Roubinski
1d2e5f281e
Fixes for visual shader member filter
2019-08-25 11:01:42 +03:00
Yuri Roubinski
494ea78610
Small performance fix for preview in visual shader
2019-08-25 09:22:09 +03:00
Yuri Roubinski
7f350a2c71
Enhanced preview for a visual shader to show errors
2019-08-25 08:42:21 +03:00
Yuri Roubinski
4dcee2035a
Implemented inverse shader function to GLES2
2019-08-22 08:22:49 +03:00
Tomasz Chabora
7e075029c8
Fix various typos and style errors in text
2019-08-19 20:43:42 +02:00
Michael Alexsander Silva Dias
c19a66d72f
Simplify structure of preview text in visual shader editor
2019-08-18 13:27:08 -03:00
Rémi Verschelde
ef37f00525
Merge pull request #31453 from Chaosus/vs_code_preview
...
Added code preview to visual shader
2019-08-18 17:32:49 +02:00
Yuri Roubinski
808e44df6d
Added code preview to visual shader
2019-08-18 17:28:19 +03:00
Yuri Roubinski
e3b43771aa
Added global expressions to visual shaders
2019-08-18 08:49:56 +03:00
Yuri Roubinski
33e9fce1bb
Plugin support for visual shaders
2019-08-14 15:52:27 +03:00
Yuri Roubinski
6c8a55aa0d
Fix incorrect search member in visual shaders
2019-08-08 22:19:42 +03:00
Yuri Roubinski
5e9052fae3
Allow copy/paste nodes between vertex/fragment/light modes in visual shaders
2019-08-07 16:46:47 +03:00
Rémi Verschelde
78e84c29e6
Merge pull request #31057 from Chaosus/vs_mix_improvements
...
Some improvements to Mix visual shader function
2019-08-07 08:22:08 +02:00