Skip to content

Add missing diffs to orthographic projection article#291

Merged
greggman merged 1 commit into
webgpu:mainfrom
maxledlie:face-color-fix
May 5, 2026
Merged

Add missing diffs to orthographic projection article#291
greggman merged 1 commit into
webgpu:mainfrom
maxledlie:face-color-fix

Conversation

@maxledlie
Copy link
Copy Markdown
Contributor

The orthographic projection article does not mention that the old, constant color data needs to be removed from the uniform when we switch to passing a color per face using inter-stage variables.

This can take a while to spot when following along using the diffs, as the shader still runs but produces a warped geometry.

Thanks for the great resource!

@greggman greggman merged commit 48780f3 into webgpu:main May 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants