- Home /
Is it possiable to encrypt GLES shaders(Opengl ES2.0)
In Unity 3 with "Open compiled shader" which can give the way to protect shaders for deskstop.But porting to IOS/Android,GLES shaders are complete open source.
Answer by Statement · Jan 11, 2011 at 01:58 PM
I guess you could obfuscate the source code by some algorithm (maybe a simple xor algorithm, or maybe some more exotic encryption method) and create the shaders during game start through code. You should take your encrypted code and decrypt before passing this to methods that create a shader. I haven't done iPhone or android coding so I don't know if there are any differences in how shaders are created though.
Your answer
Follow this Question
Related Questions
Deploying to Android or iPhone device - track public variables in inspector? 1 Answer
Specular Materials on iPhone or Android? 1 Answer
signal 11 (SIGSEGV), fault 2 Answers
"More Games" button on mobile? 1 Answer
What do i need to run my built application for iphone using unity to be run on android devices 1 Answer