View Single Post
03/29/17, 02:39 PM
Join Date: Mar 2014
Originally Posted by
I'm not sure, but I think you can bend the edges of a texture control with :SetVertexUV(*[VERTEX_POINTS|#VERTEX_POINTS]* _vertex_, *number* _u_, *number* _v_)
I think you mean SetVertexColors(number vertexPoints, number red, number green, number blue, number alpha)
However, textures are rendered as 2 triangles, so setting the alpha of all corners to 0 will make the entire texture disappear.
It's possible to combine the two methods to render one image via multiple texture controls and blend individual parts of the image (see TrueExploration addon), but this can only approximate a circle.
Here is an example. There are gradients, but they are rather linear and the diagonals only work in one direction. Circles will be hard to apprximate.
Last edited by Shinni : 03/29/17 at
View Public Profile
Send a private message to Shinni
Find More Posts by Shinni