Materials: Is there a node to scale a texture from the center?

I am trying to set up an animated material that scales a texture node up and down. I have tried animating TexCords node, but this (as it should) splits the image in 4, then 8 etc. What I need is to just scale the texture/UVs, so that the image scales from its center. Picture a logo on a hemisphere, that gets bigger and smaller. Is there a simple way to do this that i am missing? panner and rotator are candidates, but I cannot see how to use them in this way.

Thanks!

the scale Uv’s from center node :stuck_out_tongue:

Also both your question and post are fairly confusing to read.

You would have to multiply TexCoords node by the scale factor and add half of the scale factor as offset.

How did i not find that node. :slight_smile: thanks!

Alternatively use this setup.

If you wanna save even more performance, replace by this:

the zoom is the same on both, just didn’t compile before the first screenshot.

1 Like