[Bf-docboard-svn] bf-manual: [7991] branches/blender-2.93-release/blender_docs/manual: Nodes: Add Refract and Faceforward functions to Vector Maths nodes

Aaron Carlisle noreply at blender.org
Tue Apr 27 06:05:23 CEST 2021


Revision: 7991
          https://developer.blender.org/rBM7991
Author:   Blendify
Date:     2021-04-27 06:05:22 +0200 (Tue, 27 Apr 2021)
Log Message:
-----------
Nodes: Add Refract and Faceforward functions to Vector Maths nodes

rBd3758892987d76749fdf1211ed27ff77f39b5b3b

Modified Paths:
--------------
    branches/blender-2.93-release/blender_docs/manual/modeling/geometry_nodes/attribute/attribute_vector_math.rst
    branches/blender-2.93-release/blender_docs/manual/render/shader_nodes/converter/vector_math.rst

Modified: branches/blender-2.93-release/blender_docs/manual/modeling/geometry_nodes/attribute/attribute_vector_math.rst
===================================================================
--- branches/blender-2.93-release/blender_docs/manual/modeling/geometry_nodes/attribute/attribute_vector_math.rst	2021-04-27 01:01:46 UTC (rev 7990)
+++ branches/blender-2.93-release/blender_docs/manual/modeling/geometry_nodes/attribute/attribute_vector_math.rst	2021-04-27 04:05:22 UTC (rev 7991)
@@ -47,6 +47,11 @@
    :Cross Product: The cross product of A and B.
    :Project: The projection of A onto B.
    :Reflect: The reflection of A around the normal B. B need not be normalized.
+   :Refract:
+      For a given incident vector A, surface normal B and ratio of indices of refraction,
+      Ior, refract returns the refraction vector, R.
+   :Faceforward: Orients a vector A to point away from a surface B as defined by its normal C.
+      Returns :math:`(dot(B, C) < 0) ? A : -A`.
    :Dot Product: The dot product of A and B.
    :Distance: The distance between A and B.
    :Length: The length of A.

Modified: branches/blender-2.93-release/blender_docs/manual/render/shader_nodes/converter/vector_math.rst
===================================================================
--- branches/blender-2.93-release/blender_docs/manual/render/shader_nodes/converter/vector_math.rst	2021-04-27 01:01:46 UTC (rev 7990)
+++ branches/blender-2.93-release/blender_docs/manual/render/shader_nodes/converter/vector_math.rst	2021-04-27 04:05:22 UTC (rev 7991)
@@ -49,6 +49,11 @@
       :math:`\begin{pmatrix} A_y \cdot B_z - A_z \cdot B_y \\ A_z \cdot B_x - A_x \cdot B_z \\ A_x \cdot B_y - A_y \cdot B_x \end{pmatrix}`
    :Project: The projection of A onto B.
    :Reflect: The reflection of A around the normal B. B need not be normalized.
+   :Refract:
+      For a given incident vector A, surface normal B and ratio of indices of refraction,
+      Ior, refract returns the refraction vector, R.
+   :Faceforward: Orients a vector A to point away from a surface B as defined by its normal C.
+      Returns :math:`(dot(B, C) < 0) ? A : -A`.
    :Dot Product: The dot product of A and B.
       :math:`A_x \cdot B_x + A_y \cdot B_y + A_z \cdot B_z`
    :Distance: The distance between A and B.



More information about the Bf-docboard-svn mailing list