i am after a way to convert my glsl code to ARB in a fashion that allows me to keep my framework as-is. i.e preserves uniform names, meaning I can just read in the ARB code and compile, link etc but still use getuniformlocation etc to alter runtime variables.
cgc will produce a nice compiled arb code with some fairly cryptic header information (won’t load as glsl though), and the only other option I’ve seen is ashli which produces slightly less polished arb and is also unloadable via the standard interface.
Basically I want to add a level of obfuscation to customers with a minimal amount of effort on my part
I understand that I should be able to load ARB code in the same manner that i do glsl, but please correct me if I am wrong.
your suggestions most welcome!