Unity Products:Amplify Occlusion/Tutorials/In-depth Tutorial and Unity Products:Amplify Shader Editor/ACos: Difference between pages

From Amplify Creations Wiki
(Difference between pages)
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
Line 1: Line 1:
{{#evt:
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
service=youtube
|id=https://youtu.be/7mZeRli_ToQ
|alignment=right
}}


Installation, scene setup and feature overview with various examples and useful workflow tips.
== ACos Node ==


[[Category:Tutorials]]
The ACos node outputs the arccosine in radians of the value specified on its [[#paramInput|Input]]. The result value will be in the range [0,π] assuming that the input value is in the [-1,1] range.
 
ACos on multi-channel data types generates an output of the same type with the operator applied per-channel.
 
<img class="responsive-img" src="http://wiki.amplify.pt/images/NodeDetail/ACosGraphicNode.png">
 
 
 
{| class="wikitable" style="width: 100%;"
|-
! style="width: 10%;" | Node Parameter !! Description !! style="width: 10%;" | Default Value
|- style="background: #e5e5e5;" |
| id="paramInput" | Input
| Value to be used on the ''Arccosine'' calculation. Only visible if the respective input port is not connected.
| 0
|}
 
{| class="wikitable" style="width: 100%;"
|-
! style="width: 10%;" | Input Port !! Description !! style="width: 10%;" | Type
|-
| ''Input''
| Value to be used on the ''Arccosine'' calculation.
| Float <sup id="ref1">[[#anchor|[1]]]</sup>
|}
 
 
----
# <span id="anchor1">'''[[#ref1|^]]'''</span> Port automatically adapts to all connection types except Matrices and [[Unity Products:Amplify Shader Editor/Texture Object|Sampler]] types.
 
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
[[Category:Nodes]][[Category:Trigonometry Operators]]

Latest revision as of 00:05, 2 December 2023

Back to Node List

ACos Node

The ACos node outputs the arccosine in radians of the value specified on its Input. The result value will be in the range [0,π] assuming that the input value is in the [-1,1] range.

ACos on multi-channel data types generates an output of the same type with the operator applied per-channel.


Node Parameter Description Default Value
Input Value to be used on the Arccosine calculation. Only visible if the respective input port is not connected. 0
Input Port Description Type
Input Value to be used on the Arccosine calculation. Float [1]



  1. ^ Port automatically adapts to all connection types except Matrices and Sampler types.

Back to Node List