Most appropriate sections of the p5.js website?
Tutorials
What is your operating system?
Mac OS
Web browser and version
Chrome 148.0.7778.179
Actual Behavior
The example code within the "Varyings: Passing data from vertex to fragment shader" section has a bug in the code. The vTexCoord 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
Chrome 148.0.7778.179
Actual Behavior
The example code within the "Varyings: Passing data from vertex to fragment shader" section has a bug in the code. The
vTexCoordis 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