Skip to main content
gamedev.net
🔒 Locked

combining cg programs?

Started by zarfius Jun 12, 2004 at 2:00 AM 0 replies 550+ views
Original Post
zarfius
zarfius
I really need to know, if at all possible, how you can apply two or more cg programs to the same object. I tried something like this but it doesn''t work. cgGLBindProgram(cgProgram); cgGLBindProgram(cgProgram2); cgGLEnableProfile(cgVertexProfile); The only other option i can think of is putting it all into one cg file. I really don''t want to have to do that because i already have to cg files written and working. If I comment out one bind the other works and visa-versa.. so it''s not a problem in some other part of my code i would imagine. Thanks in advance DiLZ

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.