Search - User list
Full Version: Pass custom point or vertex attribute to GLSL shader
Root » Technical Discussion » Pass custom point or vertex attribute to GLSL shader
David Larsson
I'm using polyframe to generate the attributes tangentu and tangentv on a mesh.
I want to access these in a glsl shader. Is it possible to make them show up in in variables or samplerBuffers somehow?
I've tried assuming that naming them according to the uv and normal convention but nothing seems to be passed in.
Brian Walters
Did you ever find out how to do this? I'm about to tackle the same problem.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB