How to apply a masked texture in world coords?

I’ve drawn an image explanation on what I would like to achieve:

I can’t figure out how to setup a material in this way. I guess I should use World Position Offset with some UV Coordinates parameters on the mask…?

I’ve managed to implement this by myself :slight_smile: Here is what I’ve done:

For world align, use WorldAlignedTexture node and multiply the output by mask.
For mask scale and rotation, plug in into its UV input the following nodes:

  • CustomRotator with scalar parameter plugged into Rotation Angle
  • TexCoord multiplied by another scalar parameter plugged into “UVs(V2)” input of CustomRotator

Then, plug it into “Add” node along with your diffuse texture.
Now, you can pass random values to these scalar parameters.