wrong fragment shader source in example #33555
Labels
Content:WebAPI
Web API docs
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL
What specific section or headline is this issue about?
The fragment shader
What information was incorrect, unhelpful, or incomplete?
The given fragment shader source on the tutorial page can't be compiled by the browser. Is says WebGL 3.0 or higher is required, and a few more errors.
What did you expect to see?
A working program.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
The code on github contains fragment shader source that is complied just fine, and it all works.
MDN metadata
Page report details
en-us/web/api/webgl_api/tutorial/using_textures_in_webgl
The text was updated successfully, but these errors were encountered: