In GLSL you pass special attribs via glVertexAttribPointer().
For Cg shaders you use cgGLSetParameterPointer().
How do i specify vertex attributes (tangent/binormal/ …) in CgFX?
Apparently both of the two functions dont work!
Thanks!
In GLSL you pass special attribs via glVertexAttribPointer().
For Cg shaders you use cgGLSetParameterPointer().
How do i specify vertex attributes (tangent/binormal/ …) in CgFX?
Apparently both of the two functions dont work!
Thanks!