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)


Code: Select all
float4 unity_WorldTransformParams; // w is usually 1.0, or -1.0 for odd-negative scale transforms