Hi.
First of all, an image to ilustrate the "problem"
Well, I need to create a score with this "kinda vanish point". The top left score is a bogus image... The real score for test purposes is the bigger one... with this shader I reach the result in image:
shader_type canvas_item;
uniform float VchangeX = 0;
uniform float VchangeY =0.5;
void vertex()
{
float vertPosX = (-VERTEX.y * VchangeX) + VERTEX.x;
float vertPosY = (-VERTEX.x * VchangeY) + VERTEX.y;
VERTEX.x = vertPosX;
VERTEX.y = vertPosY;
);
}
I tried do this with GDscript Transform2D too, but I'm stuck basically with the same results How can I write this shader?