CgFX is no longer used for newer engine, use nvFX instead of it
forgot to replace new style vertex attribute binding