In My application i have to use the Android Camera, and OpenGLES.
I have also have to give the effect to the Camera Vision with two files called one.vsh and one.fsh But i dont know how to implement that file in OpenGLES.
Even i also dont know how to implement android camera to work with OPENGLES to do effect with that two files.
Please help me for this.
Thanks.
Well, I don’t have a test about Android camera to use such effect on it.
But ofcourse, you can use the shader file in the
onSurfaceCreatedmethod as like below:Just replace the
Stringthat you want to use for vertex shader and fragment shader.Hope this helps.