You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your example is confusing because it currently talks about the bottom-right corner, when it should say bottom-left.
In the "Manipulate geometry in the shader" section.
One way you could fix this is to update the square's vertex buffer. By shifting the vertices so that the bottom-left corner is at, for example, (0.1, 0.1) instead of (-0.8, -0.8), you'd move this square to line up with the cell boundaries more nicely. But, since you have full control over how the vertices are processed in your shader, it's just as easy to simply nudge them into place using the shader code!
ChatGPT also provided me with a graph showing what you mean.
The text was updated successfully, but these errors were encountered:
If "Manage Cell State" (Section 7) used VertexInput for "Read the storage buffer in the shader" parameter 1, then it would be more consistent and easier to follow.
It currently uses the non-struct approach of pos and instance_index.
If "Manage Cell State" (Section 7) used VertexInput for "Read the storage buffer in the shader" parameter 1, then it would be more consistent and easier to follow.
Draw A Grid
Your example is confusing because it currently talks about the bottom-right corner, when it should say bottom-left.
In the "Manipulate geometry in the shader" section.
ChatGPT also provided me with a graph showing what you mean.
The text was updated successfully, but these errors were encountered: