Pass custom attributes to a custom fragment shader

Viewed 4943

Is it possible to pass custom attributes to a fragment shader, i know i can pass attributes via GLES20.glVertexAttribPointer to the vertex shader, but how can i pass a float[] to the fragment shader?

2 Answers
Related