Login  Register

Attribute Buffer

Posted by Itun on Oct 11, 2010; 7:51pm
URL: https://forum.jogamp.org/Attribute-Buffer-tp1682956.html

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?