From: Adam Griffiths <adam.lw.griffi...@gmail.com>
Date: Wed, 12 Sep 2012 00:59:12 -0700 (PDT)
Local: Wed, Sep 12 2012 3:59 am
Subject: Vertex Attributes using vertex_list and GLSL
I'm trying to pass vertex attributes to a GLSL vertex shader. I've created the following vertex_list: I've also put this in my GLSL vertex shader: attribute float index; But I'm unsure how to bind the attribute array to the GLSL input? The GL spec says I should call glGetAttribLocationARB which receives the I'm using the GLSL shader wrapper from here incase that matters: Cheers, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||