PDA

View Full Version : CgFX - pass vertex attributes



_NK47
03-02-2008, 02:40 PM
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!