|
Can Somebody explain me how to create an attribute buffer in OpenGL?
If Somebody doesn`t understand what I mean:
|1 Face|2 Face|3 Face|... - GL_ELEMENT_ARRAY_BUFFER
|1 Attr|3 Attr|1 Attr|...
Everyone Attrs contain textures and materials (some structure).
This technique is present in DirectX.
If OpenGl doesn`t support this technique should I write a shader?
|