Most appropriate sections of the p5.js website?
Tutorials
What is your operating system?
Mac OS
Web browser and version
No response
Actual Behavior
Follow up to #1406. It was mentioned that this would also apply to the 2.0 branch. This bug ticket is to track the fix for the 2.0 branch.
The example code within the "Varyings: Passing data from vertex to fragment shader" section has a bug in the code. The vTexCoord varying is the intended variable to pass to the fragment shader but the other vVertexColor variable is passed.
Expected Behavior
The vTexCoord variable should be passed to the fragment shader. The other vVertexColor variable seems irrelevant for the tutorial.
Steps to reproduce
No response
Would you like to work on the issue?
Yes
Most appropriate sections of the p5.js website?
Tutorials
What is your operating system?
Mac OS
Web browser and version
No response
Actual Behavior
Follow up to #1406. It was mentioned that this would also apply to the 2.0 branch. This bug ticket is to track the fix for the 2.0 branch.
The example code within the "Varyings: Passing data from vertex to fragment shader" section has a bug in the code. The
vTexCoordvarying is the intended variable to pass to the fragment shader but the othervVertexColorvariable is passed.Expected Behavior
The
vTexCoordvariable should be passed to the fragment shader. The othervVertexColorvariable seems irrelevant for the tutorial.Steps to reproduce
No response
Would you like to work on the issue?
Yes