*/OSL*

The shader version of the RS Texture “Centered Transform” preset. By default, the pivot point of the UV scale of the RS Texture node is not in the center, with this OSL (or the preset) you can have the transform with the pivot at the center.

This shader generates raw data to be connected to the RS Texture node, it doesn’t generate UV coordinates.

Outputs 🏁

Parameters 🎛️

Uniform Scale

Uniformly scales the coordinates for zooming or tiling effects.

Non-uniform Scale

Independently scales coordinates along X and Y axes.

Offset

Shifts the texture position within the space.

Rotation

Rotates the texture within the coordinate frame.


Examples 🪄

Center UV Transform OSL: Scale animation from center pivot

Center UV Transform OSL: Scale animation from center pivot

Vanilla RS Texture scale animation, not from the center

Vanilla RS Texture scale animation, not from the center

Center UV Transform: PSR animation test

Center UV Transform: PSR animation test