Multiple UV sets in GLSL

   7145   0   0
User Avatar
Member
4 posts
Joined: Oct. 2009
Offline
I have imported some geo via FBX which has multiple UV sets. These sets are imported correctly and show up as vertex params uv and uv2. When I use uv in a glsl context via gl_TexCoord all works well, but when I try and use the second set uv2 in via gl_TexCoord I get nuttin!! How would I access this second set of coords in the shader?
I am used to cgfx / hlsl and would just bind a variable to an app interpollant via a semantic but not sure how it all works in the glsl houdini context….
  • Quick Links