On the way to OpenGL ES2
handle color material state