Is it Possible to give effect like Vertex Shader and Fragment Shader to the Android Camera Preview , and Save the Captured image with OpenGLES?
问题 This two are My VertexShader and Fragment Shader file: Vertex Shader File: attribute vec4 position; attribute vec4 inputTextureCoordinate; varying vec2 textureCoordinate; varying vec4 co; void main() { gl_Position = position; textureCoordinate = inputTextureCoordinate.xy; co = inputTextureCoordinate; } Fragment Shader File: uniform sampler2D videoFrame; // the texture with the scene you want to blur varying mediump vec2 textureCoordinate; varying mediump vec4 co; precision mediump float; vec4