color is a parameter for the main function
TODO: write up some way to share shader code and use platform-specific features