Create Transform

 
 
 

Category: Processing > Math

Shader Family: Texture

Output: Transform (matrix) value

This shader gets individual scale, rotation, and position values and outputs them as a single transformation matrix value.

Rotation Unit

The units used for the Rotation values: Degrees, Radians, or Normalized.

Scale/Rotation/Position

The value for each axis (XYZ) of each type of transformation: scaling, rotation, and position.

Render Tree Usage

Plugs into any port on a shader that supports Transform data as a matrix. It can be used to transform normals and UV coordinates etc.

In the shader compound shown below, the Create Transform shader is used to transform UV coordinates with a matrix.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License