Jump to content
  • Advertisement
Sign in to follow this  
JaJDoo

GLSL to ARB

This topic is 2911 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 need to convert GLSL shaders to ARB (assembly) but i cant find a converter. anybody know one?

Share this post


Link to post
Share on other sites
Advertisement
You can try CG. I know it can do offline compilation but not sure if it can convert GLSL to ARB.

Share this post


Link to post
Share on other sites
CG works :) I've used it before for a project of mine. You can use the cgc program which is included with the CG SDK.

Share this post


Link to post
Share on other sites
Quote:
Original post by JaJDoo
i need to convert GLSL shaders to ARB (assembly) but i cant find a converter. anybody know one?
The only sane reason to do this is if you need to port a GLSL program to an ancient GPU. In that case, your GLSL is likely to be using features not available in ARB assembly language, so you are likely to be better off doing the conversion by hand.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!