Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: opengl drivers automaticly optimize attributes?  (Read 1001 times)

0 Members and 1 Guest are viewing this topic.

kerp

  • Newbie
  • *
  • Posts: 5
    • View Profile
opengl drivers automaticly optimize attributes?
« on: January 29, 2015, 03:05:29 am »
Hello sfml users!!

i was working again on my sfml 2.2 project in linux and was having trouble getting opengl to recognize my normal attribute was that there! So i dug around and found a stack overflow topic about the 1281 errors i was getting and my normal attribute was putting out a -1 for a value.. So i found out like the title suggested that mesa drivers optimize the atttributes so what do if i can't use more attributes than 1 for opengl 2.0?

So i'm wondering if you guys have found a workaround for this..
I'm thinking that i could use uniform values? for my normals but i'm not sure about this....

how would i use a vbo to do this i wonder? or is it impossible and if so then use gluniform3fv???

anyway i wanted to get somebody experiences with this, that it is right that i need to use gluniform!
a noob in training...