Unity Products:Amplify Shader Editor/Transform Position

From Amplify Creations Wiki
Jump to: navigation, search

Back to Node List

Transform Position Node

This node transforms position values from one space to another. In cases of more complex transformation it deals with any intermediate transformation that is necessary as well as float4 to float3 conversions. It also deals with different rendering path shader logic like HD SRP with relative camera rendering.

Node Parameter Description Default Value
From Sets the input space type of the position value
  • Object Space: Sets input position space to Object space
  • World Space: Sets input position space to World space
  • View Space: Sets input position space to View space
  • Clip: Sets input position space to Clip space
  • Tangent: Sets input position space to Tangent space
Object Space
To Sets the output space type of the position value
  • Object Space: Sets output position space to Object space
  • World Space: Sets output position space to World space
  • View Space: Sets output position space to View space
  • Clip: Sets output position space to Clip space
  • Tangent: Sets output position space to Tangent space
Object Space
Input Value in selected input space to be transformed into selected output space. Only visible if the respective input port is not connected. 0,0,0
Input Port Description Type
Input Value in selected input space to be transformed into selected output space. Float3
Output Port Description Type
XYZ Returns the transformed value in the selected output space. Float3
X Returns only the X component of the transformed value in the selected output space. Float
Y Returns only the Y component of the transformed value in the selected output space. Float
Z Returns only the Z component of the transformed value in the selected output space. Float

Back to Node List