Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at


Member since

Recent Docs Activity

View all activity
Page Date Comment

Adding 2D content to a WebGL context

shaderProgram must be global, or setMatrixUniforms will not recognize its existence. This is how it is in the actual demo.