I have written a shader with multiple passes and in the final pass I make use of the sinh and cosh functions. This does not compile for the gles render target. I know that I can write my own version of the function use the exp command if need be, but is there a way to make this work for gles? The commands seem to be supported from GLSL 1.3 going forward.
If I do need to write my own functions. Is there a way to only have to rewrite this single pass as a new subshader? Can I use the UsePass command to share the passes from my existing shader? It compiles fine for everything else.