Commit graph

82 commits

Author SHA1 Message Date
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
Yuri Roubinski
d0dc195da8 Some improvements to Mix visual shader function 2019-08-06 08:06:49 +03:00
Yuri Roubinski
43ee35431e Fix opening of sub-resource properties in visual shaders 2019-08-05 17:13:02 +03:00
Yuri Roubinski
8a0767d883 Return back spacer for non-expression nodes in visual shader 2019-08-03 18:54:04 +03:00
Rémi Verschelde
3a6102a6f7
Merge pull request #31010 from Chaosus/vs_fix_expression
Some visual fixes for Expression node in visual shaders
2019-08-01 10:50:33 +02:00
Chaosus
82e2efe591 Some visual fixes for Expression node 2019-08-01 11:03:23 +03:00
Chaosus
8b4c538ab2 Expose several GLES3 built-ins to GLES2 2019-07-31 19:00:10 +03:00
Chaosus
f704506807 Implement copy/paste in visual shaders 2019-07-31 12:43:29 +03:00
clayjohn
3f25dde6b4 added round function to gles2 2019-07-29 11:17:08 -07:00
Rémi Verschelde
d15cf7b672
Merge pull request #30576 from qarmin/lgtm_coverage
Changed some code reported by LGTM and Coverity
2019-07-20 12:00:13 +02:00
qarmin
6cbaf7662f Changed some code showed in LGTM and Coverage 2019-07-20 08:09:57 +02:00
Rémi Verschelde
9384b6ab0e i18n: Sync translation template with current source
Fix a few typos in new strings.
2019-07-19 16:08:40 +02:00
Rémi Verschelde
23f5154de7
Merge pull request #30532 from Chaosus/vs_triplanar
Added triplanar uniform texture node to visual shaders
2019-07-15 07:56:06 +02:00
Chaosus
e82b5e910a Better boolean indication in visual shaders 2019-07-15 08:31:51 +03:00
Chaosus
d56fc13cad Highlight GLES3 functions in the visual shader member panel 2019-07-12 17:58:13 +03:00
Rémi Verschelde
584ca0f156
Merge pull request #30466 from Chaosus/vs_boolean_funcs
Added "Is" and "Compare" functions to visual shaders
2019-07-12 13:20:44 +02:00
Chaosus
9d6e1e3109 Added "Is" and "Compare" functions to visual shaders 2019-07-12 13:43:37 +03:00
Chaosus
0727caadd1 Added triplanar uniform texture node to visual shaders 2019-07-12 12:14:34 +03:00
Rémi Verschelde
34d7484039
Merge pull request #30455 from qarmin/const_reference
Pass by reference to const
2019-07-10 15:43:15 +02:00
qarmin
01cc7a996b Use reference to constant in functions 2019-07-10 11:54:12 +02:00
Hugo Locurcio
28d3a6051c
Use base Color() constructors instead of Color::html()
This results in slightly smaller binaries (-17 KB for an editor binary)
as no strings need to be allocated.
2019-07-08 21:17:10 +02:00
Rémi Verschelde
bc00332286 Fix TTR strings for VisualShaderNodes
It had been done wrongly in #30185, but I missed it.
2019-07-02 13:29:26 +02:00
Rémi Verschelde
187d8addf9
Merge pull request #30152 from Chaosus/vs_conversion
Added convertor from VisualShader to Shader
2019-06-29 18:40:28 +02:00
hbina085
f531a92057 use vformat for duplicate strings
many strings in visual_shader_editor_plugin.cpp does not use vformat for duplicate strings making it harder to translate
2019-06-29 07:52:09 -04:00
Chaosus
da7cf8b49f Added convertor from VisualShader to Shader 2019-06-28 19:54:43 +03:00
Rémi Verschelde
f35fd681ac
Merge pull request #30114 from Chaosus/vs_context_menu
Shows menu when dragging connection on empty space in visual shader
2019-06-27 15:14:54 +02:00
Chaosus
0aec3c3113 Shows menu when dragging connection on empty space in visual shader graph 2019-06-27 10:48:18 +03:00
qarmin
4e5310cc60 Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
Rémi Verschelde
5c66771e3e
Merge pull request #29283 from qarmin/fix_some_always_same_values
Remove always true/false values
2019-06-20 21:10:10 +02:00
qarmin
072e40368e Fix always true/false values 2019-06-20 16:59:48 +02:00
JohnJLight
38d3bfe971 Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00
Chaosus
cd3d538f12 Fix incorrect scroll when the user perform first action on visual shader 2019-05-29 07:41:29 +03:00
Chaosus
44de8b4964 Added a bunch of scalar constants to visual shaders 2019-05-27 18:39:59 +03:00
Chaosus
e70ea5d97b Makes the expression node to apply expression only when the focus leaves out 2019-05-22 07:46:47 +03:00
Chaosus
6f2abd68f2 Fix few bugs in expression node 2019-05-21 18:37:31 +03:00
Chaosus
5648924eef Expression node for visual shaders 2019-05-21 12:11:41 +03:00
Chaosus
719a9a9c1c Added Fresnel and OneMinus to visual shaders 2019-05-19 13:44:30 +03:00
Chaosus
8a8b7af638 Fix collapse visual shader tree 2019-05-03 11:10:08 +03:00
Chaosus
e57d761f9b Fix build visual_shader_editor_plugin 2019-05-03 08:50:00 +03:00
Chaosus
62b7132947 Fix input entries when switching to new visual shader 2019-05-02 10:00:08 +03:00
Chaosus
3c159ea379 Added missed inputs for other modes in visual shaders 2019-05-01 17:04:39 +03:00
Chaosus
7a9735eef4 Fix uniform title color in visual shaders(regression) 2019-04-26 10:53:40 +03:00
Chaosus
446f8a2cc2 Fix crash regression in visual shader 2019-04-25 07:46:18 +03:00
Chaosus
3a3df84d3b Fix connection lines glitch in visual shaders 2019-04-24 12:47:54 +03:00
Yuri Roubinsky
93e7eb0ddb
Merge pull request #28375 from Chaosus/fix_vs_loopback
Disallow loopback connection in visual shaders
2019-04-24 09:41:06 +03:00
Chaosus
21ca9f6c7c Disallow loopback connection in visual scripts and visual shaders 2019-04-24 09:14:45 +03:00
Chaosus
9ac770be45 Removes preview from existing transform nodes in visual shader 2019-04-24 08:08:29 +03:00
Rémi Verschelde
0453e6eddc
Merge pull request #28348 from Chaosus/fix_vs_transform_preview
Removed incorrect "Transform" preview from visual shaders
2019-04-23 23:19:31 +02:00
Chaosus
be11b6f04d Removed incorrect "Transform" preview from visual shaders 2019-04-23 21:52:06 +03:00
Chaosus
eb53c0fb32 Enlarge Vector3 constant node in visual shaders 2019-04-23 21:21:17 +03:00