Godot Version
4.5.stable
Question
I have a Line2D filled a 64*64 texture:
It seems fine without width curve:
But with width curve:
It just does not scale from the center.
That seems like a known issue that is not fixed yet.
opened 05:47AM - 14 Oct 23 UTC
enhancement
topic:rendering
confirmed
topic:2d
### Godot version
v4.1.2.stable.official [399c9dc39]
### System information
W… indows 11 Home Vulkan API 1.2.170 - Forward+ - Using Vulkan Device #0: Intel - Intel(R) UHD Graphics
### Issue description
Textures are distorted in a strange way when applied as a fill on a Line2D with a width_curve applied.

### Steps to reproduce
1. Create a Line2D of any length with 2 points.
2. Create a linear width_curve for the Line2D.
3. Apply a texture fill.
### Minimal reproduction project
[line2D_texture_bug.zip](https://github.com/godotengine/godot/files/12902737/line2D_texture_bug.zip)
But if you need a workaround, you can have two lines with different texture (black and white line seperately) and put them on top of each other and apply the same points, width_curve etc..