✅ UV Trouble
I'm current writing a voxel game in unity and have been working to get UV's properly affixed to the generated voxels.
After hours of work, I've finally gotten it to a point where it looks decent, but the texture stretching is undesired. I believe it's caused by a misaligned vertex, but I have yet to find where in my code that causes the misalignment.
https://pastebin.com/RkcC23Su
Pastebin
public static Vector2[] FaceUVs(Direction direction, Voxel voxe...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1151025450391437322/UV_Stretching.jpg)
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1151025450710224936/Streeetch.jpg)
7 Replies
(This is the intended texture for display)
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1151025733771210842/image.png)
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1151025777488445500/image.png)
$unity
👌
$close
Use the /close command to mark a forum thread as answered