Ivan3z
(Ivan3z)
October 9, 2024, 1:41pm
1
I want to scale and center a texture.
I found this answer on the forum and it seems to make sense.
If your center = [0.5;0.5], then
((UV-[0.5;0.5])*Scale)+[0.5;0.5]
Another words, you just move Center Point to [0;0], scale it and return it to its initial position.
However it does not work.
In the video I try to make the texture four times smaller and place it in the center.
I think the scale works but I can’t center the image.
How to do it correctly?
Thank you so much!!
Everynone
(Everynone)
October 9, 2024, 1:51pm
2
You are going to love & hate the answer at the same time:
I would have loved to know how to do it with mathematical operations…
@Ivan3z Essentially, you were sooo close!
1 Like
Ivan3z
(Ivan3z)
October 9, 2024, 1:56pm
3
Hi @Everynone
You are absolutely right… I would have loved to know how to do it with mathematical operations… but I am a practical man… that function is wonderful anyway!!
Thank you so much for your help!!
1 Like
Ivan3z
(Ivan3z)
October 9, 2024, 5:46pm
4
I love it!!
Thank you so much @Everynone !!
1 Like
system
(system)
Closed
November 8, 2024, 5:46pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.