fragment: false
/ fragment: true
on Shaders is confusing
#179
Labels
fragment: false
/ fragment: true
on Shaders is confusing
#179
This should instead be something like
shaderType: GL_VERTEX_SHADER
andshaderType: GL_FRAGMENT_SHADER
so it's more obvious.That change would also tie it in with the https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createShader API (note that Desktop OpenGL manpages calls the parameter
shaderType
)The text was updated successfully, but these errors were encountered: