Topic was automatically imported from the old Question2Answer platform.
Asked By
Stormbringer
Im triyng skew, like a vanish point, an object
like this
I’ll try to do it with GDScript Transform2D and with shaders, but I’m failed both ways (little better result with shaders, but still can’t get it right)
Thank you…
My object is a label, i think doesn’t work like in a sprite… trying your shader:
without shader:
with your shader:
I’ll probably try another method… Im working now with another custon font and breaking my string into individual characters… and positioning and scale each one individually:
Is not the best way, but will work till I realize how use a shader properly
And instead of colorrect I put label in the viewport.
Apply the viewporttexture to a sprite or something and yayy the shader will work on the sprite.
Your method looks good. I think easiest is to draw the text in a 3d scene and then add a camera and viewport and add as a viewporttexture (like just did above). Then can move and rotate the 3D camera and make this effect.
Hopefully someone know the real way just with the shader