-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polyline texture coordinate chunkiness #7689
Comments
Here's a modified demo that uses the hexadecimal digits ( |
Also this happens at both ends. I would expect this demo to look more like an aircraft smoothly pulling an advertisement banner across the sky. Parts of the banner should not be repeatedly crushed in the process. |
Polylines have texture coordinates that indicate to the shader where a given pixel is along the width of the line, and along the length of the line. The width positioning seems quite stable, but the length position somehow is quantized into chunks, or rounded in some way. It appears to update only at intervals, even when the line grows every frame.
I've made a demo that shows how this affects the arrow material, but I also have cases where this affects other materials too. I think it's an issue with the way the texture coordinates are calculated.
What we're supposed to see in this demo is some growing arrow lines, with circled arrow heads (the circles come from large point outlines). You can see that the circles (points) travel smoothly, as expected, and the polyline grows smoothly, but the arrowheads are not smooth.
The text was updated successfully, but these errors were encountered: