Thanks man, i got it working. To be more specific, here is what i did:
- I put the jpct_shaders.zip file in the res/raw directory.
- I added this line right after initializing the GLSurfaceView:
- Finally, i added this lines right before initializing the FrameBuffer:
That's all. Thank you very much.
- I put the jpct_shaders.zip file in the res/raw directory.
- I added this line right after initializing the GLSurfaceView:
Code Select
mGLView.setEGLContextClientVersion(2);
- Finally, i added this lines right before initializing the FrameBuffer:
Code Select
ShaderLocator sl = new ShaderLocator(demo.getResources(),R.raw.jpct_shaders);
GLSLShader.setShaderLocator(sl);
That's all. Thank you very much.