From ee1b7a033db6f4fc844f2ce4c4429115ee030ddd Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Sat, 7 May 2022 09:49:12 +0300 Subject: Push `HSV2RGB/RGB2HSV` to `ColorFunc` (from `VecFunc`) in visual shaders --- doc/classes/VisualShaderNodeColorFunc.xml | 10 ++++- doc/classes/VisualShaderNodeVectorFunc.xml | 66 ++++++++++++++---------------- 2 files changed, 38 insertions(+), 38 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/VisualShaderNodeColorFunc.xml b/doc/classes/VisualShaderNodeColorFunc.xml index 4a73b1662e..6116e0df68 100644 --- a/doc/classes/VisualShaderNodeColorFunc.xml +++ b/doc/classes/VisualShaderNodeColorFunc.xml @@ -24,7 +24,13 @@ return vec3(max3, max3, max3); [/codeblock] - + + Converts HSV vector to RGB equivalent. + + + Converts RGB vector to HSV equivalent. + + Applies sepia tone effect using the following formula: [codeblock] vec3 c = input; @@ -34,7 +40,7 @@ return vec3(r, g, b); [/codeblock] - + Represents the size of the [enum Function] enum. diff --git a/doc/classes/VisualShaderNodeVectorFunc.xml b/doc/classes/VisualShaderNodeVectorFunc.xml index dc6628a9af..bc4e12c0b3 100644 --- a/doc/classes/VisualShaderNodeVectorFunc.xml +++ b/doc/classes/VisualShaderNodeVectorFunc.xml @@ -26,100 +26,94 @@ Returns [code]1/vector[/code]. - - Converts RGB vector to HSV equivalent. - - - Converts HSV vector to RGB equivalent. - - + Returns the absolute value of the parameter. - + Returns the arc-cosine of the parameter. - + Returns the inverse hyperbolic cosine of the parameter. - + Returns the arc-sine of the parameter. - + Returns the inverse hyperbolic sine of the parameter. - + Returns the arc-tangent of the parameter. - + Returns the inverse hyperbolic tangent of the parameter. - + Finds the nearest integer that is greater than or equal to the parameter. - + Returns the cosine of the parameter. - + Returns the hyperbolic cosine of the parameter. - + Converts a quantity in radians to degrees. - + Base-e Exponential. - + Base-2 Exponential. - + Finds the nearest integer less than or equal to the parameter. - + Computes the fractional part of the argument. - + Returns the inverse of the square root of the parameter. - + Natural logarithm. - + Base-2 logarithm. - + Converts a quantity in degrees to radians. - + Finds the nearest integer to the parameter. - + Finds the nearest even integer to the parameter. - + Extracts the sign of the parameter, i.e. returns [code]-1[/code] if the parameter is negative, [code]1[/code] if it's positive and [code]0[/code] otherwise. - + Returns the sine of the parameter. - + Returns the hyperbolic sine of the parameter. - + Returns the square root of the parameter. - + Returns the tangent of the parameter. - + Returns the hyperbolic tangent of the parameter. - + Returns a value equal to the nearest integer to the parameter whose absolute value is not larger than the absolute value of the parameter. - + Returns [code]1.0 - vector[/code]. - + Represents the size of the [enum Function] enum. -- cgit v1.2.3