Difference between revisions of "Unity Products:Amplify Shader Editor/Texture Coordinates"

From Amplify Creations Wiki
Jump to: navigation, search
(Node Properties)
(Example)
Line 31: Line 31:
  
 
== Example ==
 
== Example ==
http://amplify.pt/Nodes/NodeDetails/TextureObject.jpg
+
http://amplify.pt/Nodes/NodeDetails/TextureCoordinates2.jpg
 
 
 
 
  
 
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
 
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
 
[[Category:Nodes]][[Category:Surface Standard Inputs]]
 
[[Category:Nodes]][[Category:Surface Standard Inputs]]

Revision as of 15:59, 11 May 2017

About

The Texture Coordinate node allows you to manipulate Tiling, Offset, and even select the UV Set used(aka UV Channel); useful both for static or animated textures(Panning and Rotation). Usually used with the Texture Sample node. UV coordinates define how the texture is mapped onto your asset.[Reference]

Node

Input

  • Tex - Texture Object reference.
  • Tiling - XY texture tiling.
  • Offset - XY texture offset position.

Output

  • UV - Outputs both U and V coordinates.
  • U - Outputs U coordinates.
  • V - Outputs V coordinates.
TextureCoordinates.jpg

Node Properties

  • Tiling - X and Y tiling amount.
  • Offset - X and Y offset position.
  • Reference -
  • Coord Size - Float 2 by default, can also be set to Float 3 and 4; Outputs will change accordingly to the selected parameter - Float 2 UV, Float 3 UVW, Float 4 UVWT.
  • UV Set - UV channel used, also refereed to UV Index in some applications; 1 by default, 2 usually used for Lightmap UV coordinates.
TextureCoordinates.jpg

Example

TextureCoordinates2.jpg

Back to Node List