Hi,
If you're still tackling with this problem here's an example of class that I've
used successfully for compiling and using GLSL shader programs;
https://github.com/harism/android_effects/blob/master/src/fi/harism/effects/EffectsShader.java
Compile method (setProgram) throws an exception
Title pretty much says it all. This would be so much easier if I were to
just use a single class for this. But I have been trying to take advantage
of Java's class system. To the point I get the Error creating shader.
package com.braindrool.game;
import android.opengl.GLES20;
public class
2 matches
Mail list logo