summaryrefslogtreecommitdiffstats
path: root/doc/classes/VisualShaderNodeFaceForward.xml
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-01-27 18:14:10 +0300
committerChaosus <chaosus89@gmail.com>2020-01-28 12:16:09 +0300
commit766d1ef276044cb1a277e2283c14b7e0fa6bbc43 (patch)
tree9b6299df663a79cba7c85f8fb02ba704271fe26b /doc/classes/VisualShaderNodeFaceForward.xml
parentcab55bbb9d2e77e9b83a7749a21aa75e9d31dbcc (diff)
downloadredot-engine-766d1ef276044cb1a277e2283c14b7e0fa6bbc43.tar.gz
Docs for some nodes in visual shader(part 2)
Diffstat (limited to 'doc/classes/VisualShaderNodeFaceForward.xml')
-rw-r--r--doc/classes/VisualShaderNodeFaceForward.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/VisualShaderNodeFaceForward.xml b/doc/classes/VisualShaderNodeFaceForward.xml
index 74143366cb..59eef17e24 100644
--- a/doc/classes/VisualShaderNodeFaceForward.xml
+++ b/doc/classes/VisualShaderNodeFaceForward.xml
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualShaderNodeFaceForward" inherits="VisualShaderNode" version="3.2">
<brief_description>
+ Returns the vector that points in the same direction as a reference vector within the visual shader graph.
</brief_description>
<description>
+ Translates to [code]faceforward(N, I, Nref)[/code] in the shader language. The function has three vector parameters: [code]N[/code], the vector to orient, [code]I[/code], the incident vector, and [code]Nref[/code], the reference vector. If the dot product of [code]I[/code] and [code]Nref[/code] is smaller than zero the return value is [code]N[/code]. Otherwise [code]-N[/code] is returned.
</description>
<tutorials>
</tutorials>