Re: [info-performer] Add Generic Attribute

Date view Thread view Subject view Author view

From: Jason Daly (jdaly++at++ist.ucf.edu)
Date: 05/18/2005 14:16:11


Hi again, Jimi,

I forgot to mention that generic attributes are currently broken in
Performer (Stace Peterson has said this previously), so
do this instead:

geoa->setMultiAttr(PFGA_TEX_ARRAY, 3, 3, GL_FLOAT, sizeof(float)*3,
tangentlist);

This will send them down texture unit 3 (change this to another texture
unit if you're already using this one). You can just read them in from
there in your GLSL shader.

--"J"


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed May 18 2005 - 14:19:24 PDT