Skip to content

Conversation

@nickcosmo
Copy link

@nickcosmo nickcosmo commented Jan 31, 2026

Description

I noticed in the Introduction to Shaders page under the "Passing data from vertex to fragment shader" tutorial, the code snippet for the vertex shader was missing a line to pass the coord variable to the fragment shader and was instead passing an unused color variable.

I did not create an issue for this as it was such a small change.

Changes

  • Update line to pass of the coord variable to the fragment shader
  • Remove the vertex color variable which seemed to be not relevant to the code example.

Screenshots

Before
image

After
image

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.

1 participant