I experimented a bit with vector math and got this texture.

enter image description here

It is compressed at the top and stretched below. How can I get the opposite effect? I did so, but I do not think that is the right way.

enter image description here

  • 1
    $\begingroup$ You have done it the right way: by transforming assigning x,y,z → x,(1-t),z and trasforming t (=1-y) instead of y. I'm going to suggest closing this question as it's unlikely to be useful to others (and also because, as I said, you already have the correct solution) $\endgroup$ – Nicola Sap Dec 29 '18 at 15:01
  • $\begingroup$ Manipulating texture coordinates with math seems to have many uses in creating various effects as well as working with procedural textures. I think this can be useful and see no reason to close it. $\endgroup$ – Martin Z Jan 3 at 12:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.