Simplified API, removed difference between vertex and fragment shaders.