When using a vertex shader in combination with a fragment shader, this spits out an error:

WARNING: Could not find vertex shader attribute 'position' to match BindAttributeLocation request.

The attribute is not actully in use in the shader, but this message still pops up when running the shader. Does it matter?


Well, it depends if the

jstrecker's picture
Submitted by

Well, it depends if the shader is giving you the correct/expected graphics output. That warning can be harmless in some cases and indicate a problem in others. Specifically, it indicates that the gl_Position value may not be getting calculated correctly.