Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Bumper

OpenGL CgFX and OpenGL compatibility

This topic is 5308 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am in trouble with CgFX and OpenGL. I don''t know why but I can''t compile shaders with vp20 vp30 fp20 and fp30 profiles. I get the error "Unknown profile vp20". My graphic card is a GeForce4 Ti4200 and Cg program compile with these profiles, so I don''t understand what is the matter with CgFX. Moreover I would like to know how CgFX files running on OpenGL are compatible with Direct3D fx files? especially features other that vertex/pixel shader (i.e. Texture Combine, Blending, etc.) Thanks in advance. PS: May be someone know where I can''t find some resource about OpenGL+CgFX???

Share this post


Link to post
Share on other sites
Advertisement
vp20 compiles on a GF4?! You sure?

edit: Just checked my CG book. Yeah vp20 should be OK on a GF4. vp30 and fp30 are unsupported.



"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"



[edited by - CPPMaster Poppet on May 29, 2004 10:45:19 AM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!