OpenGL ES 2.0: Attribute not active -
in reading book: opengl es 2.0 programming guide (addison-wesley). , have read following:
"attribute names not exist or not active in vertex shader attached program object ignored."
when attribute not active?
thanks.
from opengl specification:
a generic attribute variable considered active if determined compiler , linker attribute may accessed when shader executed. attribute variables declared in vertex shader never used not count against limit. in cases compiler , linker cannot make conclusive determination, attribute considered active. program object fail link if number of active vertex attributes exceeds max_vertex_attribs.
Comments
Post a Comment