generates a basic shader with vertex attributes