Figured out how to rewrite WeatherShader in swift.  Example pure swift now.