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

From Amplify Creations Wiki
Jump to: navigation, search
(Created page with "This page is empty, contribute today! Back to Node List Category:NodesCategory:Surface Standard Inputs")
 
Line 1: Line 1:
This page is empty, contribute today!
+
== 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([[Unity Products:Amplify Shader Editor/Panner|Panning and Rotation]]). Usually used with the [[Unity Products:Amplify Shader Editor/Texture_Sample|Texture Sample]] node. UV coordinates define how the texture is mapped onto your asset.[https://en.wikipedia.org/wiki/UV_mapping [Reference]]
 +
 
 +
== Node ==
 +
 
 +
{|style="width: 100%"
 +
|
 +
'''Input'''
 +
* Tex - [[Unity Products:Amplify Shader Editor/Texture Object | 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.
 +
|<div class="center" style="width:auto; float:right;">http://amplify.pt/Nodes/TextureCoordinates.jpg</div>
 +
|}
 +
 
 +
== Node Properties ==
 +
 
 +
{|style="width: 100%"
 +
|
 +
* 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.
 +
|<div class="center" style="width:auto; float:right;">http://amplify.pt/Nodes/NodeDetails/TextureCoordinates.jpg</div>
 +
|}
 +
 
 +
== Example ==
 +
http://amplify.pt/Nodes/NodeDetails/TextureObject.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:54, 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.
TextureCoordinates.jpg

Example

TextureObject.jpg


Back to Node List