The X,Y,Z values don't seem to return anything, when it seems like they should be returning the object's pivot/world position.
(To be clear, this should be the object's position Vector3, NOT the position of a vertex or pixel or fragment)

float4 unity_WorldTransformParams; // w is usually 1.0, or -1.0 for odd-negative scale transforms
Return to Amplify Shader Editor
Users browsing this forum: No registered users and 8 guests